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.000858/0.0008579, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008179/0.000818, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.864/0.864, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002986, allocations: 9.5 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 82.32 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.003634/0.1493, allocations: 3.653 MB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1515, allocations: 1.43 MB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.1518, allocations: 31.81 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1519, allocations: 67.17 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000562/0.1525, allocations: 251.2 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1535, allocations: 0.5121 MB / 0.593 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000942/0.1545, allocations: 0.7782 MB / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004802/0.155, allocations: 359.3 kB / 0.5941 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.1554, allocations: 378.1 kB / 0.5945 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.1557, allocations: 329.9 kB / 0.5948 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/0.1558, allocations: 24 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.1559, allocations: 28 kB / 0.5948 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.156, allocations: 127.3 kB / 0.5949 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1561, allocations: 181.1 kB / 0.5951 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.1567, allocations: 0.8068 MB / 0.5959 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1567, allocations: 0 / 0.5959 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1568, allocations: 4 kB / 0.5959 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.1568, allocations: 0 / 0.5959 GB, free: 10.14 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.001937/0.1587, allocations: 1.247 MB / 0.5971 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1588, allocations: 8.031 kB / 0.5971 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.1589, allocations: 126.5 kB / 0.5973 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.16, allocations: 0.6919 MB / 0.5979 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.112e-05/0.1601, allocations: 91.69 kB / 0.598 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.054e-05/0.1602, allocations: 75.84 kB / 0.5981 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.1613, allocations: 0.7289 MB / 0.5988 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1614, allocations: 0 / 0.5988 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.578e-05/0.1614, allocations: 24 kB / 0.5988 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1615, allocations: 16 kB / 0.5988 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.1625, allocations: 0.5282 MB / 0.5994 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.1654, allocations: 2.29 MB / 0.6016 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.1668, allocations: 0.6576 MB / 0.6022 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.1668, allocations: 4.562 kB / 0.6022 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/0.1675, allocations: 327.1 kB / 0.6026 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 1.934e-06/0.1675, allocations: 0 / 0.6026 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001445/0.1689, allocations: 0.7715 MB / 0.6033 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.169, allocations: 89.61 kB / 0.6034 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/0.1697, allocations: 0.7439 MB / 0.6041 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.1698, allocations: 41.7 kB / 0.6042 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.1701, allocations: 440.5 kB / 0.6046 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1703, allocations: 205 kB / 0.6048 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.1703, allocations: 12 kB / 0.6048 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1704, allocations: 334.1 kB / 0.6051 GB, free: 444 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.1708, allocations: 209.2 kB / 0.6053 GB, free: 236 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2468/0.4176, allocations: 298.1 kB / 0.6056 GB, free: 48.31 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/0.4183, allocations: 235.3 kB / 0.6058 GB, free: 48.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4184, allocations: 1.375 kB / 0.6058 GB, free: 48.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001202/0.4196, allocations: 0.6595 MB / 0.6065 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.4197, allocations: 0.8799 MB / 0.6073 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4197, allocations: 6.281 kB / 0.6073 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4198, allocations: 6.062 kB / 0.6073 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.4204, allocations: 146.3 kB / 0.6075 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4204, allocations: 13.86 kB / 0.6075 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.4208, allocations: 73.19 kB / 0.6075 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.4208, allocations: 20.66 kB / 0.6076 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.4209, allocations: 2.875 kB / 0.6076 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008343/0.4217, allocations: 0.5222 MB / 0.6081 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.4217, allocations: 2.781 kB / 0.6081 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.4217, allocations: 11.81 kB / 0.6081 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/0.4222, allocations: 140.1 kB / 0.6082 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4223, allocations: 13.33 kB / 0.6082 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.4226, allocations: 64.19 kB / 0.6083 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.4226, allocations: 21.28 kB / 0.6083 GB, free: 47.35 MB / 0.4981 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.423, allocations: 296.2 kB / 0.6086 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/0.4231, allocations: 93.38 kB / 0.6087 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.4232, allocations: 107.7 kB / 0.6088 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4232, allocations: 5.844 kB / 0.6088 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4232, allocations: 2.406 kB / 0.6088 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4232, allocations: 3.328 kB / 0.6088 GB, free: 47.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.425, allocations: 1.454 MB / 0.6102 GB, free: 46.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.425, allocations: 3.906 kB / 0.6102 GB, free: 46.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.4255, allocations: 105.5 kB / 0.6103 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4255, allocations: 2.906 kB / 0.6103 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.4255, allocations: 18.11 kB / 0.6104 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4256, allocations: 2.969 kB / 0.6104 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4256, allocations: 0 / 0.6104 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.427, allocations: 0.9758 MB / 0.6113 GB, free: 46.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.4272, allocations: 224.3 kB / 0.6115 GB, free: 46.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.826e-05/0.4273, allocations: 18.66 kB / 0.6115 GB, free: 46.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.4277, allocations: 44.05 kB / 0.6116 GB, free: 46.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.4277, allocations: 32.17 kB / 0.6116 GB, free: 46.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.4278, allocations: 18.81 kB / 0.6116 GB, free: 46.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004591/0.4282, allocations: 0.511 MB / 0.6121 GB, free: 46.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4283, allocations: 0 / 0.6121 GB, free: 46.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000609/0.4289, allocations: 273.2 kB / 0.6124 GB, free: 46.3 MB / 0.4981 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 (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.0001297/0.429, allocations: 116.6 kB / 0.6125 GB, free: 46.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.4304, allocations: 0.8003 MB / 0.6133 GB, free: 46.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4304, allocations: 7 kB / 0.6133 GB, free: 46.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.4308, allocations: 271 kB / 0.6135 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008906/0.4317, allocations: 231.1 kB / 0.6138 GB, free: 46.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.4338, allocations: 1.837 MB / 0.6156 GB, free: 45.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.4341, allocations: 1.016 MB / 0.6166 GB, free: 44.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003878/0.4345, allocations: 115.3 kB / 0.6167 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4346, allocations: 60.92 kB / 0.6167 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4346, allocations: 0 / 0.6167 GB, free: 44.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01162/0.4463, allocations: 8.364 MB / 0.6249 GB, free: 43.88 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: