Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008364/0.0008365, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009189/0.0009191, allocations: 172.7 kB / 15.95 MB, free: 208 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.299/1.299, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7528/0.7528, allocations: 132.4 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002983, allocations: 8 kB / 0.5034 GB, free: 4.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3494, allocations: 81.58 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003196/0.3526, allocations: 3.5 MB / 0.5865 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.3545, allocations: 1.248 MB / 0.5877 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.3548, allocations: 28.56 kB / 0.5877 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.355, allocations: 87.5 kB / 0.5878 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.3553, allocations: 137.5 kB / 0.5879 GB, free: 412 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.3561, allocations: 286.1 kB / 0.5882 GB, free: 260 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008153/0.357, allocations: 0.8239 MB / 0.589 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.3574, allocations: 296.7 kB / 0.5893 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.3577, allocations: 231 kB / 0.5895 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.358, allocations: 240 kB / 0.5898 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.536e-05/0.3581, allocations: 22.53 kB / 0.5898 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.576e-05/0.3582, allocations: 27.5 kB / 0.5898 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.3583, allocations: 94.95 kB / 0.5899 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3584, allocations: 153 kB / 0.59 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008296/0.3593, allocations: 0.8085 MB / 0.5908 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3593, allocations: 0 / 0.5908 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3593, allocations: 5.312 kB / 0.5908 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3593, allocations: 0 / 0.5908 GB, free: 15.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001599/0.3609, allocations: 0.9565 MB / 0.5918 GB, free: 14.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.361, allocations: 9.844 kB / 0.5918 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.3611, allocations: 84.75 kB / 0.5919 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008371/0.3619, allocations: 0.5389 MB / 0.5924 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.362, allocations: 44.62 kB / 0.5924 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.3621, allocations: 60.48 kB / 0.5925 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3633, allocations: 0.6043 MB / 0.5931 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3633, allocations: 4.844 kB / 0.5931 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.3634, allocations: 33.78 kB / 0.5931 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.3634, allocations: 14.34 kB / 0.5931 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3644, allocations: 468.4 kB / 0.5936 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.3674, allocations: 2.02 MB / 0.5955 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008823/0.3683, allocations: 453.4 kB / 0.596 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.3687, allocations: 244.8 kB / 0.5962 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.3688, allocations: 9.375 kB / 0.5962 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005571/0.3693, allocations: 268.7 kB / 0.5965 GB, free: 11.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 1.994e-06/0.3693, allocations: 0 / 0.5965 GB, free: 11.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001244/0.3706, allocations: 0.5954 MB / 0.5971 GB, free: 11.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.3706, allocations: 57.62 kB / 0.5971 GB, free: 11.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.3711, allocations: 444 kB / 0.5975 GB, free: 11.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.3712, allocations: 36.73 kB / 0.5976 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.3714, allocations: 320.7 kB / 0.5979 GB, free: 10.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.3716, allocations: 172.8 kB / 0.598 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.3716, allocations: 10.31 kB / 0.5981 GB, free: 10.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3717, allocations: 364.2 kB / 0.5984 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.3721, allocations: 174.1 kB / 0.5986 GB, free: 10.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.3726, allocations: 253 kB / 0.5988 GB, free: 10.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.373, allocations: 220.7 kB / 0.599 GB, free: 9.938 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.373, allocations: 0 / 0.599 GB, free: 9.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001027/0.374, allocations: 0.5727 MB / 0.5996 GB, free: 9.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3741, allocations: 36.92 kB / 0.5996 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3741, allocations: 2 kB / 0.5996 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3741, allocations: 8.297 kB / 0.5996 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.3746, allocations: 112.1 kB / 0.5997 GB, free: 9.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3746, allocations: 8.531 kB / 0.5997 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.375, allocations: 70.84 kB / 0.5998 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.375, allocations: 18.16 kB / 0.5998 GB, free: 9.512 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002576/0.3753, allocations: 202.5 kB / 0.6 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.3754, allocations: 57.95 kB / 0.6001 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.3755, allocations: 65.95 kB / 0.6001 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.3755, allocations: 9.141 kB / 0.6001 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3755, allocations: 5 kB / 0.6001 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3755, allocations: 7.984 kB / 0.6002 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.3772, allocations: 1.18 MB / 0.6013 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3772, allocations: 4 kB / 0.6013 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.3777, allocations: 99.22 kB / 0.6014 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3777, allocations: 5.328 kB / 0.6014 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.3778, allocations: 7.844 kB / 0.6014 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.3778, allocations: 8.938 kB / 0.6014 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3778, allocations: 0.875 kB / 0.6014 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.3791, allocations: 0.7688 MB / 0.6022 GB, free: 7.891 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.3793, allocations: 176.2 kB / 0.6023 GB, free: 7.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.3794, allocations: 15.48 kB / 0.6024 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.3797, allocations: 32.44 kB / 0.6024 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.3798, allocations: 40.41 kB / 0.6024 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.3798, allocations: 9.25 kB / 0.6024 GB, free: 7.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003333/0.3801, allocations: 308.1 kB / 0.6027 GB, free: 7.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3801, allocations: 4 kB / 0.6027 GB, free: 7.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.3806, allocations: 145.1 kB / 0.6029 GB, free: 7.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001208/0.3807, allocations: 113.3 kB / 0.603 GB, free: 7.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008857/0.3816, allocations: 488.7 kB / 0.6034 GB, free: 7.082 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3816, allocations: 0 / 0.6034 GB, free: 7.082 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004172/0.382, allocations: 225.6 kB / 0.6037 GB, free: 6.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.3828, allocations: 139.5 kB / 0.6038 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.3853, allocations: 1.617 MB / 0.6054 GB, free: 5.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.3858, allocations: 0.8924 MB / 0.6062 GB, free: 4.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000281/0.3861, allocations: 68.3 kB / 0.6063 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.3862, allocations: 38.56 kB / 0.6063 GB, free: 4.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3862, allocations: 0 / 0.6063 GB, free: 4.91 MB / 446.1 MB Notification: Performance of Templates: time 0.01014/0.3964, allocations: 5.339 MB / 0.6116 GB, free: 2.348 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)