Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001435/0.001435, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001443/0.001443, allocations: 183 kB / 17.34 MB, free: 5.766 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.481/1.481, 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-master/package.mo): time 0.9028/0.9028, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.81 kB / 0.5862 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1673, allocations: 80.92 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005959/0.1733, allocations: 4.318 MB / 0.6695 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.1769, allocations: 1.597 MB / 0.671 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.178, allocations: 31.88 kB / 0.6711 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.1787, allocations: 174.1 kB / 0.6712 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.1799, allocations: 222.1 kB / 0.6715 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.1817, allocations: 0.6667 MB / 0.6721 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001839/0.1836, allocations: 1.222 MB / 0.6733 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009827/0.1846, allocations: 0.504 MB / 0.6738 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008416/0.1854, allocations: 477.9 kB / 0.6742 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007009/0.1861, allocations: 465.4 kB / 0.6747 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002911/0.1864, allocations: 100 kB / 0.6748 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.1867, allocations: 107.9 kB / 0.6749 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.1869, allocations: 235.1 kB / 0.6751 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.1875, allocations: 493 kB / 0.6756 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.1888, allocations: 1.156 MB / 0.6767 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1888, allocations: 0 / 0.6767 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.425e-06/0.1888, allocations: 0 / 0.6767 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.703e-05/0.1889, allocations: 0 / 0.6767 GB, free: 10.04 MB / 0.5137 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.003092/0.192, allocations: 1.407 MB / 0.6781 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.192, allocations: 9.109 kB / 0.6781 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.1923, allocations: 123.4 kB / 0.6782 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.1939, allocations: 0.7548 MB / 0.6789 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.194, allocations: 84.2 kB / 0.679 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.1942, allocations: 72.38 kB / 0.6791 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.1956, allocations: 0.7329 MB / 0.6798 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1957, allocations: 0 / 0.6798 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/0.1957, allocations: 28 kB / 0.6798 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.1958, allocations: 20 kB / 0.6799 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1969, allocations: 0.5204 MB / 0.6804 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.2008, allocations: 2.247 MB / 0.6826 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.2022, allocations: 0.6154 MB / 0.6832 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.2028, allocations: 274.4 kB / 0.6834 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.549e-05/0.2029, allocations: 12.55 kB / 0.6834 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000699/0.2036, allocations: 319 kB / 0.6837 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/0.2036, allocations: 8 kB / 0.6837 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001725/0.2053, allocations: 0.7477 MB / 0.6845 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.2054, allocations: 89.67 kB / 0.6846 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.2065, allocations: 0.7594 MB / 0.6853 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/0.2066, allocations: 37.7 kB / 0.6853 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.207, allocations: 436.5 kB / 0.6858 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.2072, allocations: 209 kB / 0.686 GB, free: 292 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.2074, allocations: 106.3 kB / 0.6861 GB, free: 180 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2076, allocations: 330 kB / 0.6864 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.208, allocations: 207.4 kB / 0.6866 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.2086, allocations: 308.4 kB / 0.6869 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009915/0.2096, allocations: 0.4996 MB / 0.6873 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2096, allocations: 7.938 kB / 0.6874 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001392/0.211, allocations: 0.65 MB / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.211, allocations: 8 kB / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2111, allocations: 0 / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.2111, allocations: 12.19 kB / 0.688 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.2118, allocations: 143.8 kB / 0.6881 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/0.2118, allocations: 11.92 kB / 0.6882 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.2123, allocations: 71.36 kB / 0.6882 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.2124, allocations: 23.98 kB / 0.6883 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006623/0.2131, allocations: 353.4 kB / 0.6886 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004792/0.2136, allocations: 296.4 kB / 0.6889 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008824/0.2144, allocations: 491.7 kB / 0.6893 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.298e-06/0.2145, allocations: 0 / 0.6893 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001278/0.2157, allocations: 0.6345 MB / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2158, allocations: 4 kB / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.2158, allocations: 4 kB / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.2158, allocations: 4 kB / 0.69 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.2164, allocations: 139.8 kB / 0.6901 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.2165, allocations: 7.938 kB / 0.6901 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.217, allocations: 67.44 kB / 0.6902 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.217, allocations: 20.16 kB / 0.6902 GB, free: 11.78 MB / 0.5294 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.0002335/0.2173, allocations: 217.9 kB / 0.6904 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.2175, allocations: 90.88 kB / 0.6905 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.2178, allocations: 101.2 kB / 0.6906 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.2178, allocations: 7.938 kB / 0.6906 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.2178, allocations: 8.016 kB / 0.6906 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.2178, allocations: 7.984 kB / 0.6906 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.2202, allocations: 1.443 MB / 0.692 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2202, allocations: 0 / 0.692 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.2208, allocations: 103.8 kB / 0.6921 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.2208, allocations: 8 kB / 0.6921 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.2209, allocations: 16 kB / 0.6921 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2209, allocations: 0 / 0.6921 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2209, allocations: 4 kB / 0.6921 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.2227, allocations: 0.9634 MB / 0.6931 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.223, allocations: 219.8 kB / 0.6933 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.2232, allocations: 12 kB / 0.6933 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.2237, allocations: 27.97 kB / 0.6933 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2238, allocations: 44.5 kB / 0.6934 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.2238, allocations: 20 kB / 0.6934 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007277/0.2245, allocations: 0.5146 MB / 0.6939 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2246, allocations: 0 / 0.6939 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008353/0.2254, allocations: 275 kB / 0.6942 GB, free: 7.621 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.0001834/0.2256, allocations: 120.5 kB / 0.6943 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.2273, allocations: 0.7924 MB / 0.695 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.2274, allocations: 7.938 kB / 0.6951 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.2279, allocations: 267.1 kB / 0.6953 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.2292, allocations: 263.5 kB / 0.6956 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/0.2322, allocations: 1.593 MB / 0.6971 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.2329, allocations: 0.9898 MB / 0.6981 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.2331, allocations: 67.44 kB / 0.6981 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.2331, allocations: 0 / 0.6981 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of Templates: time 0.01848/0.2516, allocations: 11.03 MB / 0.7089 GB, free: 8.5 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)