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.001105/0.001105, allocations: 91.61 kB / 15.36 MB, free: 0.7344 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.01098/0.01098, allocations: 172.8 kB / 16.26 MB, free: 6.68 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.638/1.638, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9768/0.9768, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 8.625 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 82.3 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004782/0.235, allocations: 3.886 MB / 0.5917 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003602/0.2387, allocations: 1.519 MB / 0.5932 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007536/0.2395, allocations: 31.88 kB / 0.5933 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.2399, allocations: 122.8 kB / 0.5934 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007889/0.2407, allocations: 182.8 kB / 0.5936 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.2421, allocations: 0.6154 MB / 0.5942 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001343/0.2435, allocations: 1.144 MB / 0.5953 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008255/0.2443, allocations: 492.1 kB / 0.5957 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.245, allocations: 349.8 kB / 0.5961 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004699/0.2454, allocations: 353.5 kB / 0.5964 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.2455, allocations: 24 kB / 0.5964 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.912e-05/0.2456, allocations: 28 kB / 0.5965 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.2457, allocations: 139.1 kB / 0.5966 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.2461, allocations: 406.8 kB / 0.597 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009634/0.2471, allocations: 1.027 MB / 0.598 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2471, allocations: 0 / 0.598 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2471, allocations: 0 / 0.598 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.2471, allocations: 0 / 0.598 GB, free: 8.281 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.002403/0.2495, allocations: 1.236 MB / 0.5992 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.2496, allocations: 8.031 kB / 0.5992 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.2498, allocations: 127.4 kB / 0.5993 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.251, allocations: 0.7314 MB / 0.6 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.2512, allocations: 84.27 kB / 0.6001 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2513, allocations: 76.28 kB / 0.6002 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.2527, allocations: 0.7446 MB / 0.6009 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.2527, allocations: 0 / 0.6009 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.2528, allocations: 31.94 kB / 0.6009 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.2528, allocations: 20 kB / 0.601 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.254, allocations: 0.5282 MB / 0.6015 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.2578, allocations: 2.294 MB / 0.6037 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.2593, allocations: 0.6444 MB / 0.6044 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.2599, allocations: 278.4 kB / 0.6046 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.2599, allocations: 8.562 kB / 0.6046 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007915/0.2607, allocations: 327.1 kB / 0.6049 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.905e-06/0.2607, allocations: 0 / 0.6049 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001748/0.2625, allocations: 0.775 MB / 0.6057 GB, free: 156 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.2626, allocations: 85.67 kB / 0.6058 GB, free: 52 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4047/0.6673, allocations: 0.7526 MB / 0.6065 GB, free: 48.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.6676, allocations: 38.98 kB / 0.6065 GB, free: 48.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002873/0.6679, allocations: 438.3 kB / 0.607 GB, free: 48.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.668, allocations: 210 kB / 0.6072 GB, free: 48.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/0.6681, allocations: 59.5 kB / 0.6072 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.6682, allocations: 328.6 kB / 0.6075 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.6687, allocations: 205.3 kB / 0.6077 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.6692, allocations: 312.9 kB / 0.608 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.6701, allocations: 0.5177 MB / 0.6085 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6701, allocations: 0 / 0.6085 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001164/0.6712, allocations: 0.6673 MB / 0.6092 GB, free: 48.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.07e-05/0.6713, allocations: 157.3 kB / 0.6093 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6713, allocations: 5.062 kB / 0.6093 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.6714, allocations: 7.75 kB / 0.6093 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.672, allocations: 150.1 kB / 0.6095 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.672, allocations: 5.156 kB / 0.6095 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.6725, allocations: 77.05 kB / 0.6096 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.6725, allocations: 21.33 kB / 0.6096 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-06/0.6725, allocations: 5.969 kB / 0.6096 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009745/0.6735, allocations: 0.5235 MB / 0.6101 GB, free: 47.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6735, allocations: 7.609 kB / 0.6101 GB, free: 47.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-06/0.6735, allocations: 7.25 kB / 0.6101 GB, free: 47.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.6741, allocations: 139.8 kB / 0.6103 GB, free: 47.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6741, allocations: 6.688 kB / 0.6103 GB, free: 47.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.6745, allocations: 70.95 kB / 0.6103 GB, free: 47.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.6745, allocations: 21.38 kB / 0.6104 GB, free: 47.88 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,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.0003915/0.6749, allocations: 300 kB / 0.6106 GB, free: 47.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.675, allocations: 95.88 kB / 0.6107 GB, free: 47.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.6752, allocations: 99.67 kB / 0.6108 GB, free: 47.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.6752, allocations: 9.062 kB / 0.6108 GB, free: 47.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6753, allocations: 6.938 kB / 0.6108 GB, free: 47.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6753, allocations: 0.6562 kB / 0.6108 GB, free: 47.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.6772, allocations: 1.447 MB / 0.6123 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6773, allocations: 7.266 kB / 0.6123 GB, free: 47.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/0.6778, allocations: 116.3 kB / 0.6124 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.6778, allocations: 0.9375 kB / 0.6124 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.6778, allocations: 16.28 kB / 0.6124 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.6779, allocations: 4.344 kB / 0.6124 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6779, allocations: 0 / 0.6124 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.6794, allocations: 0.9829 MB / 0.6134 GB, free: 46.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.6797, allocations: 216.4 kB / 0.6136 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.598e-05/0.6797, allocations: 17.91 kB / 0.6136 GB, free: 46.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.6802, allocations: 42 kB / 0.6136 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.6803, allocations: 35.19 kB / 0.6136 GB, free: 46.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.6803, allocations: 24.11 kB / 0.6137 GB, free: 46.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005619/0.6809, allocations: 0.5196 MB / 0.6142 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6809, allocations: 0 / 0.6142 GB, free: 46.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007348/0.6816, allocations: 273.3 kB / 0.6144 GB, free: 46.48 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 (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.0001387/0.6818, allocations: 114.4 kB / 0.6145 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.6833, allocations: 0.8146 MB / 0.6153 GB, free: 46.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6833, allocations: 0 / 0.6153 GB, free: 46.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.6838, allocations: 270.5 kB / 0.6156 GB, free: 46.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.685, allocations: 258.5 kB / 0.6158 GB, free: 45.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.6875, allocations: 1.932 MB / 0.6177 GB, free: 44.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.6879, allocations: 0.9893 MB / 0.6187 GB, free: 44.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005424/0.6884, allocations: 118.8 kB / 0.6188 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.6886, allocations: 59.75 kB / 0.6189 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.653e-06/0.6886, allocations: 0 / 0.6189 GB, free: 44.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.01712/0.7057, allocations: 8.68 MB / 0.6273 GB, free: 43.48 MB / 0.4981 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)