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-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_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.0008816/0.0008816, allocations: 100.3 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.0008384/0.0008385, allocations: 177.3 kB / 15.94 MB, free: 228 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.253/1.253, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8593/0.8593, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003394, allocations: 8.5 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 82.31 MB / 0.5872 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.00426/0.1724, allocations: 3.653 MB / 0.5908 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002759/0.1752, allocations: 1.434 MB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.1757, allocations: 31.81 kB / 0.5922 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1759, allocations: 63.19 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006068/0.1765, allocations: 251.1 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1776, allocations: 0.5128 MB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.1786, allocations: 0.786 MB / 0.5938 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.1791, allocations: 355.3 kB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004657/0.1795, allocations: 370.2 kB / 0.5944 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.1799, allocations: 333.9 kB / 0.5948 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.18, allocations: 28 kB / 0.5948 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.18, allocations: 24 kB / 0.5948 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1802, allocations: 131.3 kB / 0.5949 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.1803, allocations: 181.1 kB / 0.5951 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.1809, allocations: 0.8029 MB / 0.5959 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1809, allocations: 4 kB / 0.5959 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1809, allocations: 0 / 0.5959 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.181, allocations: 3.938 kB / 0.5959 GB, free: 10.2 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.002045/0.183, allocations: 1.251 MB / 0.5971 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1831, allocations: 8.031 kB / 0.5971 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1832, allocations: 122.5 kB / 0.5972 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.1843, allocations: 0.688 MB / 0.5979 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.1844, allocations: 87.7 kB / 0.598 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.442e-05/0.1845, allocations: 79.89 kB / 0.5981 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1856, allocations: 0.7249 MB / 0.5988 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1856, allocations: 0 / 0.5988 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.1857, allocations: 28 kB / 0.5988 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.1857, allocations: 16 kB / 0.5988 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000995/0.1867, allocations: 0.5243 MB / 0.5993 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.1897, allocations: 2.294 MB / 0.6016 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.1911, allocations: 0.6594 MB / 0.6022 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.1911, allocations: 12.56 kB / 0.6022 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006905/0.1918, allocations: 323.1 kB / 0.6025 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 1.933e-06/0.1919, allocations: 0 / 0.6025 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001455/0.1933, allocations: 0.7637 MB / 0.6033 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.1934, allocations: 89.67 kB / 0.6034 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008271/0.1942, allocations: 0.7555 MB / 0.6041 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.1943, allocations: 33.7 kB / 0.6041 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.1946, allocations: 440.5 kB / 0.6046 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.1948, allocations: 205 kB / 0.6048 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.1948, allocations: 8 kB / 0.6048 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.195, allocations: 338.1 kB / 0.6051 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.1954, allocations: 205.2 kB / 0.6053 GB, free: 300 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2686/0.464, allocations: 299.9 kB / 0.6056 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007516/0.4648, allocations: 235.3 kB / 0.6058 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4648, allocations: 2.719 kB / 0.6058 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001235/0.4661, allocations: 0.6589 MB / 0.6064 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.4662, allocations: 0.8796 MB / 0.6073 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4662, allocations: 2.906 kB / 0.6073 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.4663, allocations: 5.688 kB / 0.6073 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.4669, allocations: 147.1 kB / 0.6075 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.4669, allocations: 13.66 kB / 0.6075 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.4673, allocations: 77.89 kB / 0.6075 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/0.4674, allocations: 21.75 kB / 0.6076 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.4674, allocations: 3.25 kB / 0.6076 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008707/0.4683, allocations: 0.5227 MB / 0.6081 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4683, allocations: 2.938 kB / 0.6081 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.4683, allocations: 6.562 kB / 0.6081 GB, free: 47.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.4688, allocations: 143.6 kB / 0.6082 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4689, allocations: 6 kB / 0.6082 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.4692, allocations: 67.69 kB / 0.6083 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.4693, allocations: 24.86 kB / 0.6083 GB, free: 47.32 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.0003318/0.4696, allocations: 298.6 kB / 0.6086 GB, free: 47.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.4697, allocations: 99.94 kB / 0.6087 GB, free: 47.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.4699, allocations: 104.1 kB / 0.6088 GB, free: 47.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4699, allocations: 6.031 kB / 0.6088 GB, free: 47.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.4699, allocations: 0 / 0.6088 GB, free: 47.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.4699, allocations: 3.281 kB / 0.6088 GB, free: 47.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.4717, allocations: 1.452 MB / 0.6102 GB, free: 46.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4717, allocations: 4.578 kB / 0.6102 GB, free: 46.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.4723, allocations: 109.6 kB / 0.6103 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.4723, allocations: 4.156 kB / 0.6103 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.4723, allocations: 12.28 kB / 0.6103 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4723, allocations: 3.219 kB / 0.6103 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4723, allocations: 3.688 kB / 0.6104 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.4738, allocations: 0.9748 MB / 0.6113 GB, free: 46.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.474, allocations: 224.2 kB / 0.6115 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.4741, allocations: 16.61 kB / 0.6115 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.4745, allocations: 39.73 kB / 0.6116 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.4746, allocations: 35.41 kB / 0.6116 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.4747, allocations: 19.84 kB / 0.6116 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004967/0.4752, allocations: 0.5083 MB / 0.6121 GB, free: 46.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4752, allocations: 1.203 kB / 0.6121 GB, free: 46.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006372/0.4758, allocations: 276.2 kB / 0.6124 GB, free: 46.29 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.0001328/0.476, allocations: 113.9 kB / 0.6125 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001443/0.4774, allocations: 0.8022 MB / 0.6133 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4774, allocations: 4.125 kB / 0.6133 GB, free: 46.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.4779, allocations: 270.4 kB / 0.6135 GB, free: 46.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/0.4788, allocations: 228.7 kB / 0.6138 GB, free: 46.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.4809, allocations: 1.835 MB / 0.6155 GB, free: 45.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.4812, allocations: 1.016 MB / 0.6165 GB, free: 44.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004234/0.4817, allocations: 116.3 kB / 0.6167 GB, free: 44.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4818, allocations: 58.83 kB / 0.6167 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.4818, allocations: 0 / 0.6167 GB, free: 44.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.0133/0.4951, allocations: 8.37 MB / 0.6249 GB, free: 43.85 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: