Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3623/0.3623, allocations: 55.02 MB / 69.96 MB, free: 8.688 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001513/0.001513, allocations: 183.3 kB / 83.97 MB, free: 10.86 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.645/1.645, allocations: 194.4 MB / 292.3 MB, free: 3.598 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001856/0.001856, allocations: 117 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 8 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1457, allocations: 57.66 MB / 476.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5102/0.6559, allocations: 92.55 MB / 0.5557 GB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/0.6563, allocations: 83.27 kB / 0.5558 GB, free: 12.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04938/0.7057, allocations: 16.39 MB / 0.5718 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.347e-06/0.7058, allocations: 4 kB / 0.5718 GB, free: 15.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001409/0.706, allocations: 20 kB / 0.5718 GB, free: 15.04 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003635/0.7096, allocations: 1.026 MB / 0.5728 GB, free: 14.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.694e-05/0.7097, allocations: 12.03 kB / 0.5729 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.7103, allocations: 86.97 kB / 0.5729 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.7117, allocations: 0.5683 MB / 0.5735 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.7119, allocations: 93.84 kB / 0.5736 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.871e-05/0.712, allocations: 60.47 kB / 0.5736 GB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.7134, allocations: 0.6245 MB / 0.5742 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.7134, allocations: 4 kB / 0.5743 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.7135, allocations: 22.62 kB / 0.5743 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.7135, allocations: 12 kB / 0.5743 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.7146, allocations: 483.7 kB / 0.5747 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.7178, allocations: 1.999 MB / 0.5767 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.7192, allocations: 0.5934 MB / 0.5773 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.263e-05/0.7193, allocations: 4 kB / 0.5773 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007905/0.7201, allocations: 326 kB / 0.5776 GB, free: 9.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.949e-06/0.7201, allocations: 0 / 0.5776 GB, free: 9.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001765/0.7219, allocations: 0.7016 MB / 0.5783 GB, free: 9.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.7221, allocations: 187.9 kB / 0.5785 GB, free: 9.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.7229, allocations: 0.5157 MB / 0.579 GB, free: 8.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.7229, allocations: 39.7 kB / 0.579 GB, free: 8.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.7232, allocations: 340.1 kB / 0.5793 GB, free: 8.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.7234, allocations: 146.2 kB / 0.5795 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.7234, allocations: 10 kB / 0.5795 GB, free: 8.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.7237, allocations: 386.7 kB / 0.5798 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.7242, allocations: 208.6 kB / 0.58 GB, free: 7.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.7248, allocations: 323.4 kB / 0.5803 GB, free: 7.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.7254, allocations: 260 kB / 0.5806 GB, free: 7.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7254, allocations: 0 / 0.5806 GB, free: 7.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001301/0.7267, allocations: 0.6351 MB / 0.5812 GB, free: 6.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005751/0.7273, allocations: 0.8202 MB / 0.582 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7273, allocations: 7.938 kB / 0.582 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.7273, allocations: 4 kB / 0.582 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.7279, allocations: 119.2 kB / 0.5821 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.7279, allocations: 11.94 kB / 0.5822 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.7284, allocations: 84.55 kB / 0.5822 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.7285, allocations: 19.5 kB / 0.5823 GB, free: 5.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.7285, allocations: 0 / 0.5823 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000911/0.7294, allocations: 485.1 kB / 0.5827 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-06/0.7294, allocations: 0 / 0.5827 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.7294, allocations: 8 kB / 0.5827 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.7298, allocations: 103.6 kB / 0.5828 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.7299, allocations: 4 kB / 0.5828 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.7302, allocations: 59.02 kB / 0.5829 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.7303, allocations: 15.56 kB / 0.5829 GB, free: 5.379 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004288/0.7307, allocations: 275 kB / 0.5832 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.7308, allocations: 71.16 kB / 0.5832 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.731, allocations: 76.66 kB / 0.5833 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.731, allocations: 7.953 kB / 0.5833 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.731, allocations: 0 / 0.5833 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.7311, allocations: 3.984 kB / 0.5833 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.7318, allocations: 0.6333 MB / 0.5839 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7319, allocations: 0 / 0.5839 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.7323, allocations: 99.83 kB / 0.584 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7324, allocations: 0 / 0.584 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.7324, allocations: 15.36 kB / 0.584 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7324, allocations: 0 / 0.584 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7324, allocations: 3.953 kB / 0.584 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.734, allocations: 0.8114 MB / 0.5848 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.7343, allocations: 206.4 kB / 0.585 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.7343, allocations: 7.875 kB / 0.585 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.7348, allocations: 63.83 kB / 0.5851 GB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7349, allocations: 31.83 kB / 0.5851 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.735, allocations: 19.75 kB / 0.5851 GB, free: 3.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005141/0.7355, allocations: 418.2 kB / 0.5855 GB, free: 3.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.7355, allocations: 0 / 0.5855 GB, free: 3.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006527/0.7362, allocations: 230.4 kB / 0.5858 GB, free: 2.977 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001848/0.7364, allocations: 111.1 kB / 0.5859 GB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.7379, allocations: 0.8348 MB / 0.5867 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.738, allocations: 0 / 0.5867 GB, free: 2.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005127/0.7385, allocations: 248.3 kB / 0.5869 GB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/0.7393, allocations: 162.5 kB / 0.5871 GB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.7417, allocations: 1.357 MB / 0.5884 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/0.7423, allocations: 0.922 MB / 0.5893 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004318/0.7428, allocations: 88.97 kB / 0.5894 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.7429, allocations: 50.55 kB / 0.5894 GB, free: 15.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7429, allocations: 0 / 0.5894 GB, free: 15.54 MB / 410.7 MB Notification: Performance of Templates: time 0.01474/0.7577, allocations: 7.615 MB / 0.5969 GB, free: 7.973 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe 2>&1)