Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00804/0.00804, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001492/0.001493, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8346/0.8346, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.64 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2127, allocations: 80.2 MB / 0.6596 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005409/0.2182, allocations: 4.33 MB / 0.6639 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00346/0.2217, allocations: 1.589 MB / 0.6654 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.2224, allocations: 39.75 kB / 0.6655 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.2229, allocations: 166.2 kB / 0.6656 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000676/0.2236, allocations: 240.2 kB / 0.6658 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.2249, allocations: 0.6685 MB / 0.6665 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.2261, allocations: 1.23 MB / 0.6677 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006973/0.2268, allocations: 0.4923 MB / 0.6682 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005724/0.2273, allocations: 481.9 kB / 0.6686 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.2278, allocations: 461.4 kB / 0.6691 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.228, allocations: 100 kB / 0.6692 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2281, allocations: 108 kB / 0.6693 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.2283, allocations: 235.1 kB / 0.6695 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.2286, allocations: 493 kB / 0.67 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.2297, allocations: 1.148 MB / 0.6711 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2297, allocations: 4 kB / 0.6711 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2298, allocations: 0 / 0.6711 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.2298, allocations: 3.938 kB / 0.6711 GB, free: 1.707 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002348/0.2321, allocations: 1.401 MB / 0.6725 GB, free: 260 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.2322, allocations: 8.031 kB / 0.6725 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.2324, allocations: 123.4 kB / 0.6726 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.2338, allocations: 0.7626 MB / 0.6733 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-05/0.2339, allocations: 84.25 kB / 0.6734 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.234, allocations: 68.38 kB / 0.6735 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.2353, allocations: 0.7368 MB / 0.6742 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2353, allocations: 0 / 0.6742 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.2354, allocations: 28 kB / 0.6742 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.2354, allocations: 16 kB / 0.6742 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.2365, allocations: 0.5165 MB / 0.6747 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.2396, allocations: 2.251 MB / 0.6769 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.241, allocations: 0.6155 MB / 0.6775 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.2415, allocations: 275.2 kB / 0.6778 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.2416, allocations: 8.562 kB / 0.6778 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006389/0.2422, allocations: 323 kB / 0.6781 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.354e-06/0.2422, allocations: 0 / 0.6781 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001668/0.2439, allocations: 0.7478 MB / 0.6789 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.244, allocations: 85.67 kB / 0.6789 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/0.2448, allocations: 0.7593 MB / 0.6797 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.2449, allocations: 41.7 kB / 0.6797 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.2452, allocations: 440.5 kB / 0.6801 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.2453, allocations: 201 kB / 0.6803 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.2455, allocations: 110.3 kB / 0.6804 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2456, allocations: 334 kB / 0.6808 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.2461, allocations: 211.4 kB / 0.681 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.2466, allocations: 312.4 kB / 0.6813 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009562/0.2476, allocations: 0.5036 MB / 0.6817 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2476, allocations: 0 / 0.6817 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001219/0.2488, allocations: 0.6539 MB / 0.6824 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.2489, allocations: 4 kB / 0.6824 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2489, allocations: 8.25 kB / 0.6824 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.2489, allocations: 4 kB / 0.6824 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.2496, allocations: 151.8 kB / 0.6825 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.2496, allocations: 7.938 kB / 0.6826 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.25, allocations: 67.34 kB / 0.6826 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.2501, allocations: 20.05 kB / 0.6826 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006025/0.2507, allocations: 361.4 kB / 0.683 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004534/0.2511, allocations: 288.4 kB / 0.6833 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008596/0.252, allocations: 0.4919 MB / 0.6837 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.252, allocations: 0 / 0.6837 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001096/0.2531, allocations: 0.6306 MB / 0.6844 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2531, allocations: 8 kB / 0.6844 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2532, allocations: 0 / 0.6844 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.2532, allocations: 8 kB / 0.6844 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.2538, allocations: 135.8 kB / 0.6845 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.2538, allocations: 8 kB / 0.6845 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.2542, allocations: 63.62 kB / 0.6846 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.2542, allocations: 27.92 kB / 0.6846 GB, free: 3.457 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001903/0.2544, allocations: 218.6 kB / 0.6848 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.2545, allocations: 90.88 kB / 0.6849 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.2547, allocations: 101.2 kB / 0.685 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.2548, allocations: 8 kB / 0.685 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.2548, allocations: 3.938 kB / 0.685 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.2548, allocations: 7.984 kB / 0.685 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.2569, allocations: 1.435 MB / 0.6864 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2569, allocations: 0 / 0.6864 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/0.2575, allocations: 115.8 kB / 0.6865 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2575, allocations: 0 / 0.6865 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.2575, allocations: 16 kB / 0.6865 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2575, allocations: 4 kB / 0.6865 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2575, allocations: 0 / 0.6865 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.2591, allocations: 0.9634 MB / 0.6875 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.2594, allocations: 219.7 kB / 0.6877 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.2595, allocations: 16 kB / 0.6877 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.2599, allocations: 39.89 kB / 0.6877 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.26, allocations: 40.45 kB / 0.6878 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.2601, allocations: 19.98 kB / 0.6878 GB, free: 72 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006129/0.2607, allocations: 0.5187 MB / 0.6883 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2607, allocations: 0 / 0.6883 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007028/0.2614, allocations: 271.1 kB / 0.6886 GB, free: 15.29 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001528/0.2616, allocations: 114.6 kB / 0.6887 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.2632, allocations: 0.7924 MB / 0.6894 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2632, allocations: 128 / 0.6894 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.2638, allocations: 275.1 kB / 0.6897 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.265, allocations: 260.5 kB / 0.69 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.2675, allocations: 1.564 MB / 0.6915 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/0.2681, allocations: 0.9898 MB / 0.6924 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004701/0.2686, allocations: 114.8 kB / 0.6926 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.2687, allocations: 63.42 kB / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.2688, allocations: 0 / 0.6926 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of Templates: time 0.0185/0.2873, allocations: 9.382 MB / 0.7018 GB, free: 1.828 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)