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.00132/0.00132, allocations: 114.5 kB / 16.42 MB, free: 6.027 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.001091/0.001091, allocations: 186.6 kB / 17.35 MB, free: 5.625 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7999/0.7999, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.36 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1556, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005235/0.1609, allocations: 3.716 MB / 0.6639 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.1637, allocations: 1.321 MB / 0.6652 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.1642, allocations: 31.88 kB / 0.6653 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.1645, allocations: 126.6 kB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005106/0.1651, allocations: 186.5 kB / 0.6656 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1662, allocations: 0.577 MB / 0.6661 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008989/0.1671, allocations: 0.9721 MB / 0.6671 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.1676, allocations: 337.6 kB / 0.6674 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.168, allocations: 382.4 kB / 0.6678 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.1684, allocations: 346.1 kB / 0.6681 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.1685, allocations: 80 kB / 0.6682 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.1686, allocations: 76 kB / 0.6682 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.1687, allocations: 183.2 kB / 0.6684 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.169, allocations: 381.7 kB / 0.6688 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008125/0.1698, allocations: 0.8944 MB / 0.6696 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1699, allocations: 0 / 0.6696 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1699, allocations: 0 / 0.6696 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.1699, allocations: 0 / 0.6696 GB, free: 0.6758 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.001992/0.1719, allocations: 1.214 MB / 0.6708 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1719, allocations: 8.031 kB / 0.6708 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.1721, allocations: 100.3 kB / 0.6709 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009693/0.173, allocations: 0.6227 MB / 0.6715 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1732, allocations: 101 kB / 0.6716 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.1733, allocations: 52.38 kB / 0.6717 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1743, allocations: 0.6003 MB / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1743, allocations: 0 / 0.6723 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.1744, allocations: 24 kB / 0.6723 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1744, allocations: 12 kB / 0.6723 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/0.1753, allocations: 427.6 kB / 0.6727 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002805/0.1782, allocations: 2.103 MB / 0.6748 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.1794, allocations: 0.5012 MB / 0.6753 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/0.1799, allocations: 220.7 kB / 0.6755 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.18, allocations: 7.984 kB / 0.6755 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006129/0.1806, allocations: 282.4 kB / 0.6757 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.826e-06/0.1806, allocations: 0 / 0.6757 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001425/0.182, allocations: 0.6107 MB / 0.6763 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.1821, allocations: 88.86 kB / 0.6764 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/0.1828, allocations: 0.6176 MB / 0.677 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.1828, allocations: 33.7 kB / 0.6771 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.1831, allocations: 365.1 kB / 0.6774 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.1832, allocations: 170.6 kB / 0.6776 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.1833, allocations: 98.2 kB / 0.6777 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1835, allocations: 326 kB / 0.678 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/0.1839, allocations: 179 kB / 0.6782 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.1844, allocations: 276.2 kB / 0.6784 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009111/0.1853, allocations: 481.9 kB / 0.6789 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1853, allocations: 4 kB / 0.6789 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001154/0.1865, allocations: 0.5986 MB / 0.6795 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.1866, allocations: 35.58 kB / 0.6795 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1866, allocations: 4 kB / 0.6795 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1866, allocations: 4 kB / 0.6795 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.1871, allocations: 112.1 kB / 0.6796 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.1871, allocations: 11.92 kB / 0.6796 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.1875, allocations: 59.66 kB / 0.6797 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.1876, allocations: 19.98 kB / 0.6797 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005387/0.1881, allocations: 309.2 kB / 0.68 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000448/0.1886, allocations: 264.3 kB / 0.6802 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008025/0.1894, allocations: 450 kB / 0.6807 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.1894, allocations: 0 / 0.6807 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001068/0.1905, allocations: 0.5869 MB / 0.6812 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1905, allocations: 37.69 kB / 0.6813 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1905, allocations: 4 kB / 0.6813 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1905, allocations: 7.984 kB / 0.6813 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.191, allocations: 103.8 kB / 0.6814 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.191, allocations: 7.984 kB / 0.6814 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.1914, allocations: 55.95 kB / 0.6815 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.1914, allocations: 24 kB / 0.6815 GB, free: 4.039 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.0001748/0.1916, allocations: 222.4 kB / 0.6817 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/0.1917, allocations: 75.53 kB / 0.6818 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.1919, allocations: 79.2 kB / 0.6818 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1919, allocations: 4 kB / 0.6818 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1919, allocations: 0 / 0.6818 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.1921, allocations: 196.5 kB / 0.682 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.1922, allocations: 12 kB / 0.682 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.1926, allocations: 35.95 kB / 0.6821 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.1927, allocations: 35.89 kB / 0.6821 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001364/0.1941, allocations: 0.5599 MB / 0.6827 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001527/0.1956, allocations: 0.8896 MB / 0.6835 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004331/0.1961, allocations: 208.4 kB / 0.6837 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004652/0.1965, allocations: 435 kB / 0.6841 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of Backend: time 5.21e-07/0.1965, allocations: 0 / 0.6841 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.1981, allocations: 0.7138 MB / 0.6848 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002235/0.2004, allocations: 1.677 MB / 0.6865 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.01664/0.217, allocations: 10.49 MB / 0.6967 GB, free: 4.395 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)