Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 113.5 kB / 16.42 MB, free: 6.492 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.001268/0.001268, allocations: 185.7 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.424/1.424, 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.8889/0.8889, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.23 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.168, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.00668/0.1747, allocations: 4.1 MB / 0.6643 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.1781, allocations: 1.332 MB / 0.6656 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009979/0.1791, allocations: 23.88 kB / 0.6656 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.1797, allocations: 118.8 kB / 0.6657 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009016/0.1807, allocations: 190.3 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1821, allocations: 417.2 kB / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.1835, allocations: 0.9554 MB / 0.6673 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008698/0.1844, allocations: 462.1 kB / 0.6677 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006208/0.1851, allocations: 338.7 kB / 0.668 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.1858, allocations: 330.4 kB / 0.6683 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002452/0.1861, allocations: 92 kB / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.1863, allocations: 88 kB / 0.6685 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.1865, allocations: 183.3 kB / 0.6687 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005338/0.1871, allocations: 394 kB / 0.6691 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.1884, allocations: 1.067 MB / 0.6701 GB, free: 212 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1884, allocations: 4 kB / 0.6701 GB, free: 208 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1884, allocations: 0 / 0.6701 GB, free: 208 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.231e-05/0.1884, allocations: 0 / 0.6701 GB, free: 208 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002626/0.1911, allocations: 1.073 MB / 0.6712 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.1911, allocations: 8.031 kB / 0.6712 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.1914, allocations: 91.89 kB / 0.6712 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.1926, allocations: 0.565 MB / 0.6718 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.1926, allocations: 45.69 kB / 0.6718 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.1927, allocations: 60.36 kB / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.194, allocations: 0.6078 MB / 0.6725 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1941, allocations: 4 kB / 0.6725 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.1941, allocations: 24 kB / 0.6725 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.1941, allocations: 16 kB / 0.6725 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1952, allocations: 457 kB / 0.673 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/0.1984, allocations: 1.989 MB / 0.6749 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/0.1994, allocations: 453.9 kB / 0.6753 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.1999, allocations: 238.1 kB / 0.6756 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.2, allocations: 12.38 kB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000572/0.2005, allocations: 261.3 kB / 0.6758 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 4.238e-06/0.2006, allocations: 0 / 0.6758 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.001403/0.202, allocations: 0.5843 MB / 0.6764 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.202, allocations: 55.84 kB / 0.6765 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005672/0.2026, allocations: 453.9 kB / 0.6769 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.2026, allocations: 37.7 kB / 0.6769 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/0.2029, allocations: 320.3 kB / 0.6772 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.2031, allocations: 169.5 kB / 0.6774 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.2032, allocations: 90.25 kB / 0.6775 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2034, allocations: 362.8 kB / 0.6778 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.2039, allocations: 173 kB / 0.678 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.2043, allocations: 245.8 kB / 0.6782 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/0.2053, allocations: 452 kB / 0.6787 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2053, allocations: 0 / 0.6787 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0012/0.2065, allocations: 0.5585 MB / 0.6792 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.2065, allocations: 37.89 kB / 0.6792 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2066, allocations: 4 kB / 0.6792 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.2066, allocations: 11.94 kB / 0.6793 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/0.2071, allocations: 111.8 kB / 0.6794 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.2072, allocations: 4 kB / 0.6794 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.2076, allocations: 63.44 kB / 0.6794 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.2076, allocations: 16 kB / 0.6794 GB, free: 6.293 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0003857/0.208, allocations: 209.7 kB / 0.6796 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2081, allocations: 67.17 kB / 0.6797 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.2083, allocations: 61.59 kB / 0.6798 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.2083, allocations: 3.984 kB / 0.6798 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2084, allocations: 0 / 0.6798 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.2086, allocations: 172.3 kB / 0.6799 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.2087, allocations: 8 kB / 0.6799 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.209, allocations: 27.97 kB / 0.68 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.2091, allocations: 36.39 kB / 0.68 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001554/0.2107, allocations: 0.5504 MB / 0.6805 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00147/0.2122, allocations: 0.8531 MB / 0.6814 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004165/0.2126, allocations: 203.5 kB / 0.6816 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003814/0.213, allocations: 306.9 kB / 0.6819 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of Backend: time 5.91e-07/0.213, allocations: 4 kB / 0.6819 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.2141, allocations: 412.9 kB / 0.6823 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002536/0.2166, allocations: 1.703 MB / 0.6839 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of Templates: time 0.01513/0.2317, allocations: 7.071 MB / 0.6908 GB, free: 10.6 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)