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.001323/0.001323, allocations: 112.4 kB / 16.42 MB, free: 6.477 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.001353/0.001353, allocations: 187.9 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.416/1.416, 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.8325/0.8325, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002351/0.002351, allocations: 59.98 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2395, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.009704/0.2493, allocations: 4.105 MB / 0.6643 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004779/0.2541, allocations: 1.321 MB / 0.6656 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.2552, allocations: 23.88 kB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.256, allocations: 126.7 kB / 0.6658 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.2572, allocations: 182.4 kB / 0.6659 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.259, allocations: 426.6 kB / 0.6663 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001988/0.261, allocations: 0.9554 MB / 0.6673 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.2622, allocations: 466.1 kB / 0.6677 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.2629, allocations: 326.8 kB / 0.668 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.2636, allocations: 338.3 kB / 0.6683 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.2639, allocations: 92 kB / 0.6684 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.2642, allocations: 88 kB / 0.6685 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.2645, allocations: 175.4 kB / 0.6687 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007076/0.2652, allocations: 398 kB / 0.6691 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.2671, allocations: 1.058 MB / 0.6701 GB, free: 216 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.2672, allocations: 12 kB / 0.6701 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd: time 4.198e-06/0.2672, allocations: 0 / 0.6701 GB, free: 204 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.277e-05/0.2672, allocations: 3.938 kB / 0.6701 GB, free: 200 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.003197/0.2704, allocations: 1.092 MB / 0.6712 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.2705, allocations: 8.031 kB / 0.6712 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.2708, allocations: 92.41 kB / 0.6713 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.2722, allocations: 0.5654 MB / 0.6718 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/0.2723, allocations: 45.69 kB / 0.6719 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.2724, allocations: 60.36 kB / 0.6719 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.2742, allocations: 0.6078 MB / 0.6725 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.2743, allocations: 4 kB / 0.6725 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.2744, allocations: 24 kB / 0.6725 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.2744, allocations: 16 kB / 0.6726 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.2761, allocations: 461 kB / 0.673 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.2809, allocations: 1.997 MB / 0.675 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.2825, allocations: 456 kB / 0.6754 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007244/0.2833, allocations: 236.4 kB / 0.6756 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.794e-05/0.2833, allocations: 12.44 kB / 0.6756 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009166/0.2843, allocations: 261.2 kB / 0.6759 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 4.669e-06/0.2843, allocations: 0 / 0.6759 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.002111/0.2864, allocations: 0.5924 MB / 0.6765 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.2865, allocations: 55.84 kB / 0.6765 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008336/0.2873, allocations: 446 kB / 0.6769 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.2874, allocations: 37.7 kB / 0.677 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.2878, allocations: 329.6 kB / 0.6773 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.288, allocations: 178.5 kB / 0.6775 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.2883, allocations: 90.25 kB / 0.6775 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.2886, allocations: 366.8 kB / 0.6779 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.2892, allocations: 169 kB / 0.678 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/0.29, allocations: 249.8 kB / 0.6783 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.2914, allocations: 448 kB / 0.6787 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2914, allocations: 0 / 0.6787 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001819/0.2932, allocations: 0.5666 MB / 0.6793 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.2933, allocations: 41.58 kB / 0.6793 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2933, allocations: 7.938 kB / 0.6793 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.2934, allocations: 8 kB / 0.6793 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.2941, allocations: 107.9 kB / 0.6794 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.2942, allocations: 7.938 kB / 0.6794 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.2947, allocations: 59.89 kB / 0.6795 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/0.2948, allocations: 20 kB / 0.6795 GB, free: 6.227 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.0004392/0.2953, allocations: 204.6 kB / 0.6797 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.2954, allocations: 67.55 kB / 0.6798 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.2957, allocations: 61.59 kB / 0.6798 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.2957, allocations: 3.984 kB / 0.6798 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.2957, allocations: 0 / 0.6798 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.296, allocations: 180.5 kB / 0.68 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.2962, allocations: 12 kB / 0.68 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.2967, allocations: 27.97 kB / 0.68 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.2969, allocations: 32.39 kB / 0.6801 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002238/0.2991, allocations: 0.5543 MB / 0.6806 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002543/0.3017, allocations: 0.8534 MB / 0.6814 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000676/0.3024, allocations: 207.5 kB / 0.6816 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006441/0.303, allocations: 306.9 kB / 0.6819 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of Backend: time 8.02e-07/0.3031, allocations: 0 / 0.6819 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.3048, allocations: 410.5 kB / 0.6823 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004151/0.309, allocations: 1.724 MB / 0.684 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.02362/0.3326, allocations: 7.059 MB / 0.6909 GB, free: 10.52 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)