Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") translateModel(AES.Devel_test_models.Test_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 194.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2772/0.2772, allocations: 22.34 MB / 312.7 MB, free: 12.39 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 59.91 kB / 378.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3599, allocations: 54.94 MB / 433.7 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.002666/0.3626, allocations: 1.742 MB / 435.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.363, allocations: 141.1 kB / 435.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.287e-05/0.3631, allocations: 0 / 435.5 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.3632, allocations: 25.88 kB / 435.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.3634, allocations: 17.34 kB / 435.6 MB, free: 37.24 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.3635, allocations: 57.83 kB / 435.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3636, allocations: 142.7 kB / 435.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3638, allocations: 79.31 kB / 435.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.3639, allocations: 54.16 kB / 435.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.36e-05/0.364, allocations: 70.48 kB / 436 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.364, allocations: 15.56 kB / 436 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.199e-05/0.364, allocations: 14.16 kB / 436 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.3641, allocations: 43.5 kB / 436 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.3641, allocations: 65.91 kB / 436.1 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.3642, allocations: 119.3 kB / 436.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3643, allocations: 6.875 kB / 436.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3643, allocations: 0 / 436.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3643, allocations: 0 / 436.2 MB, free: 36.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005493/0.3648, allocations: 443.8 kB / 436.7 MB, free: 36.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.3649, allocations: 7 kB / 436.7 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.3649, allocations: 20.16 kB / 436.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3651, allocations: 212.1 kB / 436.9 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3651, allocations: 12.94 kB / 436.9 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3652, allocations: 15.75 kB / 436.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.3655, allocations: 156.4 kB / 437.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3655, allocations: 192 / 437.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.3655, allocations: 11.94 kB / 437.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.3655, allocations: 5.969 kB / 437.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.3659, allocations: 118.9 kB / 437.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.3666, allocations: 0.4941 MB / 437.7 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.3669, allocations: 116.8 kB / 437.8 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.3671, allocations: 75.77 kB / 437.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.3671, allocations: 2.969 kB / 437.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.3671, allocations: 41.88 kB / 437.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.3671, allocations: 0 / 437.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006211/0.3678, allocations: 236.5 kB / 438.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3678, allocations: 58.25 kB / 438.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.3679, allocations: 132.4 kB / 438.4 MB, free: 35.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.3679, allocations: 29.7 kB / 438.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.368, allocations: 116.8 kB / 438.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.368, allocations: 56.66 kB / 438.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.3681, allocations: 49.59 kB / 438.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.3682, allocations: 322.9 kB / 438.9 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.3683, allocations: 61.14 kB / 439 MB, free: 34.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.3685, allocations: 83.88 kB / 439.1 MB, free: 34.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.3689, allocations: 138.5 kB / 439.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3689, allocations: 4 kB / 439.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004062/0.3693, allocations: 200.7 kB / 439.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3693, allocations: 10.91 kB / 439.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3693, allocations: 3.938 kB / 439.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3694, allocations: 0 / 439.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.3698, allocations: 57.75 kB / 439.5 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3698, allocations: 3.969 kB / 439.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.3699, allocations: 30.44 kB / 439.5 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.37, allocations: 7.625 kB / 439.5 MB, free: 34.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.458e-05/0.3701, allocations: 129.2 kB / 439.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.3701, allocations: 17.25 kB / 439.6 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.3706, allocations: 209.5 kB / 439.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.3706, allocations: 2.812 kB / 439.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3706, allocations: 3.984 kB / 439.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3706, allocations: 7.172 kB / 439.9 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.3708, allocations: 259.6 kB / 440.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3708, allocations: 0 / 440.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.3711, allocations: 43.41 kB / 440.2 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3711, allocations: 3.281 kB / 440.2 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3712, allocations: 10.75 kB / 440.2 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3712, allocations: 4 kB / 440.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3712, allocations: 0 / 440.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.3718, allocations: 349.8 kB / 440.5 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.3718, allocations: 96.3 kB / 440.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.3719, allocations: 12 kB / 440.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.372, allocations: 15.31 kB / 440.6 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.3721, allocations: 35.31 kB / 440.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.3722, allocations: 13.12 kB / 440.7 MB, free: 33.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.3722, allocations: 95.95 kB / 440.8 MB, free: 33.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3722, allocations: 0 / 440.8 MB, free: 33.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3725, allocations: 33.22 kB / 440.8 MB, free: 33.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.3726, allocations: 105.1 kB / 440.9 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.373, allocations: 168.1 kB / 441.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.373, allocations: 0 / 441.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.3732, allocations: 84.58 kB / 441.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.3736, allocations: 19.66 kB / 441.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.3742, allocations: 406.8 kB / 441.6 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.3744, allocations: 0.7193 MB / 442.3 MB, free: 32.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.3745, allocations: 24.58 kB / 442.3 MB, free: 32.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.3746, allocations: 22.91 kB / 442.3 MB, free: 32.51 MB / 350.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3746, allocations: 0 / 442.3 MB, free: 32.51 MB / 350.1 MB Notification: Performance of Templates: time 0.004152/0.3788, allocations: 1.76 MB / 444.1 MB, free: 32.38 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.makefile (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & ./AES_AES.Devel_test_models.Test_analogue_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)