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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6985/0.6985, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 221.3 MB / 396.8 MB, free: 9.195 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 105.4 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.213e-05, allocations: 2.625 kB / 0.5551 GB, free: 86.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1902, allocations: 81.59 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6229/0.8131, allocations: 119 MB / 0.751 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.8134, allocations: 76.12 kB / 0.751 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04102/0.8544, allocations: 16.91 MB / 0.7675 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8545, allocations: 3.875 kB / 0.7675 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.279e-05/0.8546, allocations: 15 kB / 0.7676 GB, free: 22.61 MB / 0.5105 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.001388/0.856, allocations: 0.9326 MB / 0.7685 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.856, allocations: 11.66 kB / 0.7685 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.8562, allocations: 97.16 kB / 0.7686 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000827/0.857, allocations: 0.5739 MB / 0.7691 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.8571, allocations: 100.5 kB / 0.7692 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.8572, allocations: 56.19 kB / 0.7693 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008103/0.858, allocations: 0.5812 MB / 0.7698 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.858, allocations: 7.891 kB / 0.7699 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.8581, allocations: 23.31 kB / 0.7699 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.8581, allocations: 11.78 kB / 0.7699 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.8587, allocations: 377.2 kB / 0.7702 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.8612, allocations: 2.216 MB / 0.7724 GB, free: 19.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.862, allocations: 463.2 kB / 0.7729 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.8622, allocations: 176.1 kB / 0.773 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.8623, allocations: 7.828 kB / 0.773 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.8627, allocations: 244.8 kB / 0.7733 GB, free: 19.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.855e-06/0.8627, allocations: 4 kB / 0.7733 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.0006604/0.8633, allocations: 412.7 kB / 0.7737 GB, free: 19.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.8635, allocations: 183.8 kB / 0.7738 GB, free: 19.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.864, allocations: 0.539 MB / 0.7744 GB, free: 19.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.8641, allocations: 37.2 kB / 0.7744 GB, free: 19.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.8643, allocations: 363.2 kB / 0.7747 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.8644, allocations: 157.4 kB / 0.7749 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.8644, allocations: 9.812 kB / 0.7749 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.8645, allocations: 332.6 kB / 0.7752 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.8648, allocations: 146.4 kB / 0.7754 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.865, allocations: 274.2 kB / 0.7756 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.8653, allocations: 206.1 kB / 0.7758 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8653, allocations: 0 / 0.7758 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007338/0.8661, allocations: 0.5378 MB / 0.7763 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.8664, allocations: 0.9881 MB / 0.7773 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.8664, allocations: 7.812 kB / 0.7773 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8665, allocations: 7.562 kB / 0.7773 GB, free: 17.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004832/0.867, allocations: 122.3 kB / 0.7774 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.867, allocations: 3.656 kB / 0.7774 GB, free: 17.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.8674, allocations: 91.2 kB / 0.7775 GB, free: 17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.8675, allocations: 18.34 kB / 0.7775 GB, free: 17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.8675, allocations: 9.391 kB / 0.7776 GB, free: 16.99 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006035/0.8681, allocations: 470 kB / 0.778 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8681, allocations: 3.844 kB / 0.778 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.8681, allocations: 3.844 kB / 0.778 GB, free: 16.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.8685, allocations: 114.8 kB / 0.7781 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8686, allocations: 3.812 kB / 0.7781 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.869, allocations: 77.64 kB / 0.7782 GB, free: 16.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.869, allocations: 14.09 kB / 0.7782 GB, free: 16.85 MB / 0.5105 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.8692, allocations: 141.8 kB / 0.7783 GB, free: 16.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.8693, allocations: 81.11 kB / 0.7784 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.8695, allocations: 83.77 kB / 0.7785 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.8695, allocations: 11.48 kB / 0.7785 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.8695, allocations: 8.062 kB / 0.7785 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.8695, allocations: 0 / 0.7785 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.8702, allocations: 0.6491 MB / 0.7792 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.8702, allocations: 0 / 0.7792 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.8706, allocations: 95.62 kB / 0.7792 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.8706, allocations: 4 kB / 0.7793 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.8707, allocations: 18.5 kB / 0.7793 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.8707, allocations: 4 kB / 0.7793 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8707, allocations: 0 / 0.7793 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/0.8716, allocations: 0.6584 MB / 0.7799 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.8719, allocations: 199 kB / 0.7801 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.872, allocations: 14.42 kB / 0.7801 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.8724, allocations: 66.22 kB / 0.7802 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.8725, allocations: 30.58 kB / 0.7802 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.8726, allocations: 19.86 kB / 0.7802 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004313/0.873, allocations: 422.5 kB / 0.7806 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/0.873, allocations: 4 kB / 0.7806 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000606/0.8736, allocations: 238.4 kB / 0.7809 GB, free: 14.77 MB / 0.5105 GB 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.000176/0.8738, allocations: 116.2 kB / 0.781 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009983/0.8748, allocations: 0.744 MB / 0.7817 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8748, allocations: 4.125 kB / 0.7817 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.8751, allocations: 192.1 kB / 0.7819 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.8759, allocations: 173.3 kB / 0.7821 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.8775, allocations: 0.8904 MB / 0.7829 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.878, allocations: 0.9352 MB / 0.7838 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005889/0.8786, allocations: 131.6 kB / 0.784 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.8787, allocations: 39.44 kB / 0.784 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.8787, allocations: 0 / 0.784 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.01632/0.895, allocations: 8.989 MB / 0.7928 GB, free: 3.008 MB / 0.5105 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)