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.001414/0.001414, allocations: 111.1 kB / 16.41 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.001414/0.001413, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.585/1.585, 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.9154/0.9154, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.8 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2127, allocations: 80.21 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.006356/0.2191, allocations: 3.713 MB / 0.6639 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003582/0.2227, allocations: 1.321 MB / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001041/0.2238, allocations: 31.81 kB / 0.6652 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.2244, allocations: 126.7 kB / 0.6654 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.2257, allocations: 174.5 kB / 0.6655 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.2274, allocations: 0.5797 MB / 0.6661 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00173/0.2292, allocations: 0.9603 MB / 0.667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.2299, allocations: 349.6 kB / 0.6674 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005718/0.2305, allocations: 374.4 kB / 0.6677 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.2309, allocations: 358.1 kB / 0.6681 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.231, allocations: 76 kB / 0.6681 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.2311, allocations: 80 kB / 0.6682 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.2313, allocations: 183.2 kB / 0.6684 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.2316, allocations: 369.8 kB / 0.6687 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.2325, allocations: 0.9028 MB / 0.6696 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2325, allocations: 0 / 0.6696 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.013e-06/0.2325, allocations: 0 / 0.6696 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.2326, allocations: 0 / 0.6696 GB, free: 0.7148 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.002017/0.2346, allocations: 1.183 MB / 0.6708 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2346, allocations: 8.031 kB / 0.6708 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.2348, allocations: 95.81 kB / 0.6709 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009926/0.2358, allocations: 0.6182 MB / 0.6715 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.2359, allocations: 92.97 kB / 0.6716 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/0.236, allocations: 52.38 kB / 0.6716 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.237, allocations: 0.6042 MB / 0.6722 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2371, allocations: 3.938 kB / 0.6722 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.2371, allocations: 24 kB / 0.6722 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2371, allocations: 12 kB / 0.6723 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.2381, allocations: 431.6 kB / 0.6727 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.2407, allocations: 2.094 MB / 0.6747 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.2419, allocations: 0.5053 MB / 0.6752 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.2423, allocations: 216.9 kB / 0.6754 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.2424, allocations: 15.97 kB / 0.6754 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005905/0.243, allocations: 281.9 kB / 0.6757 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 1.954e-06/0.243, allocations: 0 / 0.6757 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001373/0.2443, allocations: 0.614 MB / 0.6763 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.2444, allocations: 84.86 kB / 0.6764 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006961/0.2451, allocations: 0.6061 MB / 0.677 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.2452, allocations: 41.69 kB / 0.677 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.2455, allocations: 356.8 kB / 0.6773 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.2456, allocations: 153.7 kB / 0.6775 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.2458, allocations: 94.25 kB / 0.6776 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2459, allocations: 326 kB / 0.6779 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.2463, allocations: 183 kB / 0.6781 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.2469, allocations: 284.2 kB / 0.6783 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.2477, allocations: 473.9 kB / 0.6788 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2478, allocations: 7.938 kB / 0.6788 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001113/0.2489, allocations: 0.5943 MB / 0.6794 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.2489, allocations: 33.7 kB / 0.6794 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2489, allocations: 4 kB / 0.6794 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.249, allocations: 4 kB / 0.6794 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.2495, allocations: 103.9 kB / 0.6795 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.2495, allocations: 11.92 kB / 0.6795 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.2498, allocations: 67.67 kB / 0.6796 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.2499, allocations: 19.98 kB / 0.6796 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005185/0.2504, allocations: 309.2 kB / 0.6799 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004247/0.2508, allocations: 264.3 kB / 0.6802 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007595/0.2516, allocations: 457.9 kB / 0.6806 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.2516, allocations: 0 / 0.6806 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001022/0.2527, allocations: 0.5712 MB / 0.6812 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.2527, allocations: 41.69 kB / 0.6812 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2527, allocations: 4 kB / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.2527, allocations: 4 kB / 0.6812 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.2531, allocations: 111.8 kB / 0.6813 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2532, allocations: 4 kB / 0.6813 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.2535, allocations: 47.66 kB / 0.6814 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.2535, allocations: 24 kB / 0.6814 GB, free: 4.152 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.0001981/0.2537, allocations: 220 kB / 0.6816 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/0.2539, allocations: 75.06 kB / 0.6817 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.254, allocations: 83.14 kB / 0.6817 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.254, allocations: 8 kB / 0.6817 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.254, allocations: 0 / 0.6817 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.254, allocations: 3.984 kB / 0.6818 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.2547, allocations: 0.6219 MB / 0.6824 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2547, allocations: 0 / 0.6824 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.2552, allocations: 87.83 kB / 0.6824 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2552, allocations: 4 kB / 0.6824 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2552, allocations: 11.98 kB / 0.6825 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.2552, allocations: 3.984 kB / 0.6825 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2552, allocations: 0 / 0.6825 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.2567, allocations: 0.7286 MB / 0.6832 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.2569, allocations: 196 kB / 0.6834 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.257, allocations: 12 kB / 0.6834 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.2574, allocations: 31.95 kB / 0.6834 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.2575, allocations: 31.97 kB / 0.6834 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.2576, allocations: 15.98 kB / 0.6834 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004709/0.258, allocations: 435 kB / 0.6839 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.258, allocations: 0 / 0.6839 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000578/0.2586, allocations: 211.4 kB / 0.6841 GB, free: 1.305 MB / 0.5137 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.2588, allocations: 115.1 kB / 0.6842 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.2603, allocations: 0.7816 MB / 0.6849 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2603, allocations: 4.125 kB / 0.6849 GB, free: 388 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.2607, allocations: 211.7 kB / 0.6851 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008774/0.2616, allocations: 207.4 kB / 0.6853 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.2637, allocations: 1.213 MB / 0.6865 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.2642, allocations: 0.9141 MB / 0.6874 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.2644, allocations: 55.36 kB / 0.6875 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.2644, allocations: 0 / 0.6875 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.01343/0.2778, allocations: 8.717 MB / 0.696 GB, free: 5.062 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)