Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 116.4 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8196/0.8196, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.41 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1566, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.00486/0.1615, allocations: 3.704 MB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.1644, allocations: 1.328 MB / 0.6652 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005489/0.165, allocations: 23.88 kB / 0.6652 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.1653, allocations: 130.6 kB / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.166, allocations: 174.6 kB / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.1672, allocations: 0.5726 MB / 0.6661 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.1682, allocations: 0.9759 MB / 0.6671 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005395/0.1688, allocations: 349.6 kB / 0.6674 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.1692, allocations: 366.5 kB / 0.6677 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.1696, allocations: 358 kB / 0.6681 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.1698, allocations: 80 kB / 0.6682 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1699, allocations: 76 kB / 0.6682 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.17, allocations: 187.2 kB / 0.6684 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002876/0.1703, allocations: 377.7 kB / 0.6688 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008066/0.1711, allocations: 0.8911 MB / 0.6696 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1711, allocations: 0 / 0.6696 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1712, allocations: 0 / 0.6696 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.1712, allocations: 0 / 0.6696 GB, free: 0.6914 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002057/0.1732, allocations: 1.183 MB / 0.6708 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.1733, allocations: 12.03 kB / 0.6708 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.1735, allocations: 91.81 kB / 0.6709 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1746, allocations: 0.6221 MB / 0.6715 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.1747, allocations: 100.9 kB / 0.6716 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.976e-05/0.1748, allocations: 60.3 kB / 0.6717 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1759, allocations: 0.5988 MB / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1759, allocations: 0 / 0.6722 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/0.176, allocations: 24 kB / 0.6723 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.176, allocations: 12 kB / 0.6723 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009378/0.1769, allocations: 431.6 kB / 0.6727 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.1797, allocations: 2.098 MB / 0.6747 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.1809, allocations: 0.4976 MB / 0.6752 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004705/0.1814, allocations: 224.7 kB / 0.6754 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.1815, allocations: 4 kB / 0.6754 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007358/0.1822, allocations: 282.1 kB / 0.6757 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 7.344e-06/0.1823, allocations: 0 / 0.6757 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001597/0.1839, allocations: 0.614 MB / 0.6763 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/0.184, allocations: 84.86 kB / 0.6764 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/0.1848, allocations: 0.6139 MB / 0.677 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.528e-05/0.1848, allocations: 33.7 kB / 0.677 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.1852, allocations: 360.8 kB / 0.6774 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.1853, allocations: 149.8 kB / 0.6775 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1855, allocations: 102.2 kB / 0.6776 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1857, allocations: 326 kB / 0.6779 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.1861, allocations: 179 kB / 0.6781 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/0.1867, allocations: 280.2 kB / 0.6783 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.1876, allocations: 477.9 kB / 0.6788 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1877, allocations: 0 / 0.6788 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001251/0.1889, allocations: 0.5981 MB / 0.6794 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.107e-05/0.189, allocations: 37.69 kB / 0.6794 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.189, allocations: 7.984 kB / 0.6794 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.189, allocations: 4 kB / 0.6794 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000499/0.1895, allocations: 108.1 kB / 0.6795 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.1896, allocations: 8 kB / 0.6795 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.19, allocations: 67.41 kB / 0.6796 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.19, allocations: 16 kB / 0.6796 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005708/0.1906, allocations: 313.2 kB / 0.6799 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004492/0.1911, allocations: 268.2 kB / 0.6802 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007764/0.1919, allocations: 454 kB / 0.6806 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.1919, allocations: 0 / 0.6806 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.00104/0.1929, allocations: 0.5826 MB / 0.6812 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.193, allocations: 31.58 kB / 0.6812 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.193, allocations: 4 kB / 0.6812 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.193, allocations: 7.938 kB / 0.6812 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.1934, allocations: 107.8 kB / 0.6813 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1934, allocations: 4 kB / 0.6813 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/0.1938, allocations: 47.61 kB / 0.6814 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.1938, allocations: 32.2 kB / 0.6814 GB, free: 4.113 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001935/0.194, allocations: 212 kB / 0.6816 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1942, allocations: 75.06 kB / 0.6817 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.1943, allocations: 79.22 kB / 0.6818 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1943, allocations: 3.984 kB / 0.6818 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1943, allocations: 0 / 0.6818 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.1946, allocations: 188 kB / 0.6819 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/0.1947, allocations: 19.98 kB / 0.682 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.1951, allocations: 31.97 kB / 0.682 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.1952, allocations: 35.89 kB / 0.682 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001344/0.1965, allocations: 0.5561 MB / 0.6826 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001493/0.198, allocations: 0.893 MB / 0.6834 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004245/0.1985, allocations: 212.4 kB / 0.6836 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004663/0.1989, allocations: 427 kB / 0.684 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of Backend: time 6.22e-07/0.199, allocations: 4 kB / 0.6841 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.2005, allocations: 0.7099 MB / 0.6847 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002225/0.2027, allocations: 1.66 MB / 0.6864 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.01722/0.22, allocations: 10.5 MB / 0.6966 GB, free: 4.508 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)