Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001788/0.001788, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7964/0.7964, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 65.89 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1415, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005407/0.1469, allocations: 4.328 MB / 0.6645 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1501, allocations: 1.589 MB / 0.6661 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006261/0.1507, allocations: 35.81 kB / 0.6661 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.1512, allocations: 166.2 kB / 0.6663 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007923/0.152, allocations: 241.4 kB / 0.6665 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.1534, allocations: 0.6702 MB / 0.6672 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.1548, allocations: 1.222 MB / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007781/0.1556, allocations: 0.5001 MB / 0.6688 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.1562, allocations: 469.9 kB / 0.6693 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.1568, allocations: 469.4 kB / 0.6697 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.157, allocations: 104 kB / 0.6698 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.1571, allocations: 104 kB / 0.6699 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.1573, allocations: 235 kB / 0.6702 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.1578, allocations: 489.2 kB / 0.6706 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1589, allocations: 1.163 MB / 0.6718 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1589, allocations: 0 / 0.6718 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.957e-06/0.1589, allocations: 0 / 0.6718 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.89e-05/0.159, allocations: 3.938 kB / 0.6718 GB, free: 14.46 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002473/0.1614, allocations: 1.433 MB / 0.6732 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1615, allocations: 8.031 kB / 0.6732 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.1617, allocations: 128.1 kB / 0.6733 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.1629, allocations: 0.7751 MB / 0.6741 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.163, allocations: 76.27 kB / 0.6741 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1631, allocations: 72.38 kB / 0.6742 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.1643, allocations: 0.7329 MB / 0.6749 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1644, allocations: 0 / 0.6749 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.1644, allocations: 36 kB / 0.6749 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1645, allocations: 16 kB / 0.675 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.1656, allocations: 0.5204 MB / 0.6755 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003229/0.1688, allocations: 2.252 MB / 0.6777 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.1702, allocations: 0.6193 MB / 0.6783 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005111/0.1707, allocations: 274.4 kB / 0.6785 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.1708, allocations: 12.55 kB / 0.6785 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006422/0.1714, allocations: 323.1 kB / 0.6789 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.454e-06/0.1714, allocations: 4 kB / 0.6789 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001573/0.173, allocations: 0.7601 MB / 0.6796 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.1731, allocations: 81.67 kB / 0.6797 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008646/0.174, allocations: 0.7634 MB / 0.6804 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.174, allocations: 37.7 kB / 0.6805 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.1743, allocations: 441 kB / 0.6809 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.1745, allocations: 214.1 kB / 0.6811 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.1747, allocations: 114.3 kB / 0.6812 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1748, allocations: 326 kB / 0.6815 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.1753, allocations: 211.4 kB / 0.6817 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.1758, allocations: 316.3 kB / 0.682 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009834/0.1768, allocations: 0.5035 MB / 0.6825 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1768, allocations: 4 kB / 0.6825 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00124/0.1781, allocations: 0.6506 MB / 0.6831 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1781, allocations: 8.25 kB / 0.6831 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1781, allocations: 4 kB / 0.6832 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.1782, allocations: 8 kB / 0.6832 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.1788, allocations: 139.8 kB / 0.6833 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.1789, allocations: 11.92 kB / 0.6833 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.1793, allocations: 71.5 kB / 0.6834 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.1793, allocations: 27.98 kB / 0.6834 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006191/0.18, allocations: 353.4 kB / 0.6837 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004796/0.1805, allocations: 295.1 kB / 0.684 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008709/0.1813, allocations: 495.6 kB / 0.6845 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.1814, allocations: 0 / 0.6845 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001131/0.1825, allocations: 0.6428 MB / 0.6851 GB, free: 368 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1825, allocations: 5.562 kB / 0.6851 GB, free: 364 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1825, allocations: 4 kB / 0.6851 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.1825, allocations: 4 kB / 0.6851 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.1832, allocations: 139.8 kB / 0.6853 GB, free: 216 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.1832, allocations: 4 kB / 0.6853 GB, free: 212 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.1836, allocations: 67.83 kB / 0.6853 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.1836, allocations: 19.94 kB / 0.6854 GB, free: 124 kB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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 0.0001815/0.1838, allocations: 212.1 kB / 0.6856 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.184, allocations: 99.39 kB / 0.6856 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.1842, allocations: 101.2 kB / 0.6857 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1842, allocations: 3.984 kB / 0.6858 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1842, allocations: 0 / 0.6858 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.1844, allocations: 236.2 kB / 0.686 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.1846, allocations: 16 kB / 0.686 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.185, allocations: 31.91 kB / 0.686 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.1851, allocations: 36.52 kB / 0.6861 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001596/0.1867, allocations: 0.6744 MB / 0.6867 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00177/0.1885, allocations: 1.076 MB / 0.6878 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004737/0.1889, allocations: 260.4 kB / 0.688 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006154/0.1896, allocations: 0.5185 MB / 0.6885 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of Backend: time 5.61e-07/0.1896, allocations: 0 / 0.6885 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.1912, allocations: 0.6805 MB / 0.6892 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002901/0.1941, allocations: 2.085 MB / 0.6912 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of Templates: time 0.02144/0.2155, allocations: 12.89 MB / 0.7038 GB, free: 13.24 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)