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/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.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.001679/0.001679, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001444/0.001443, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.461/1.461, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7972/0.7972, allocations: 132.2 MB / 422.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 59.56 kB / 0.5019 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.5763, allocations: 80.2 MB / 0.5802 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005855/0.5822, allocations: 4.33 MB / 0.5844 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.5858, allocations: 1.54 MB / 0.5859 GB, free: 296 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006105/0.5864, allocations: 30.78 kB / 0.586 GB, free: 288 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.5869, allocations: 126.7 kB / 0.5861 GB, free: 200 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006539/0.5876, allocations: 176 kB / 0.5863 GB, free: 80 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.5891, allocations: 0.6192 MB / 0.5869 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.5907, allocations: 1.222 MB / 0.5881 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008871/0.5916, allocations: 0.4959 MB / 0.5885 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007304/0.5924, allocations: 476 kB / 0.589 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005935/0.593, allocations: 463 kB / 0.5894 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001878/0.5932, allocations: 100.7 kB / 0.5895 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.5933, allocations: 103.5 kB / 0.5896 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.5936, allocations: 231.8 kB / 0.5899 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004833/0.5941, allocations: 495.5 kB / 0.5903 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.5953, allocations: 0.8596 MB / 0.5912 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5953, allocations: 1.656 kB / 0.5912 GB, free: 13.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5953, allocations: 4 kB / 0.5912 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.5953, allocations: 0 / 0.5912 GB, free: 13.43 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002729/0.5981, allocations: 1.396 MB / 0.5925 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5981, allocations: 9.312 kB / 0.5925 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.5984, allocations: 124 kB / 0.5927 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.5997, allocations: 0.7236 MB / 0.5934 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.5998, allocations: 79.23 kB / 0.5934 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.6, allocations: 75.16 kB / 0.5935 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.6015, allocations: 0.7391 MB / 0.5942 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.6015, allocations: 0 / 0.5942 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.6016, allocations: 32.03 kB / 0.5943 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.6017, allocations: 16.06 kB / 0.5943 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.6028, allocations: 0.5141 MB / 0.5948 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003672/0.6065, allocations: 2.276 MB / 0.597 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.608, allocations: 0.6228 MB / 0.5976 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.6086, allocations: 272.4 kB / 0.5979 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.678e-05/0.6086, allocations: 11.11 kB / 0.5979 GB, free: 9.324 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008148/0.6095, allocations: 321.2 kB / 0.5982 GB, free: 9.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.6095, allocations: 3.938 kB / 0.5982 GB, free: 9.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001796/0.6113, allocations: 0.7484 MB / 0.5989 GB, free: 8.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.6114, allocations: 87.47 kB / 0.599 GB, free: 8.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.6125, allocations: 0.7581 MB / 0.5997 GB, free: 8.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.6125, allocations: 37.36 kB / 0.5998 GB, free: 8.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.613, allocations: 444.7 kB / 0.6002 GB, free: 7.793 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.6132, allocations: 209 kB / 0.6004 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.6135, allocations: 114.3 kB / 0.6005 GB, free: 7.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6136, allocations: 327.3 kB / 0.6008 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.6141, allocations: 205.9 kB / 0.601 GB, free: 7.109 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000575/0.6147, allocations: 307.5 kB / 0.6013 GB, free: 6.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.6157, allocations: 0.5069 MB / 0.6018 GB, free: 6.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6158, allocations: 1 kB / 0.6018 GB, free: 6.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001392/0.6172, allocations: 0.6571 MB / 0.6025 GB, free: 6.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.6172, allocations: 4.719 kB / 0.6025 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6172, allocations: 2.344 kB / 0.6025 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.6172, allocations: 9.609 kB / 0.6025 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.6179, allocations: 141.3 kB / 0.6026 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.6179, allocations: 12.56 kB / 0.6026 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004772/0.6184, allocations: 74.06 kB / 0.6027 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.6185, allocations: 19.62 kB / 0.6027 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006638/0.6191, allocations: 356.9 kB / 0.603 GB, free: 5.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005073/0.6197, allocations: 292.6 kB / 0.6033 GB, free: 5.727 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009205/0.6206, allocations: 497.3 kB / 0.6038 GB, free: 5.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.025e-06/0.6206, allocations: 1.281 kB / 0.6038 GB, free: 5.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001276/0.6219, allocations: 0.6276 MB / 0.6044 GB, free: 5.102 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6219, allocations: 5.688 kB / 0.6044 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6219, allocations: 3 kB / 0.6044 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.6219, allocations: 13.42 kB / 0.6044 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.6226, allocations: 141.8 kB / 0.6046 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6226, allocations: 5.5 kB / 0.6046 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.623, allocations: 57.8 kB / 0.6046 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.6231, allocations: 23.61 kB / 0.6047 GB, free: 5.012 MB / 446.1 MB 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.0002692/0.6234, allocations: 218 kB / 0.6049 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.6235, allocations: 95.47 kB / 0.605 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.6237, allocations: 109.5 kB / 0.6051 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.6237, allocations: 6.312 kB / 0.6051 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.6238, allocations: 3.938 kB / 0.6051 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.6238, allocations: 5.078 kB / 0.6051 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.6262, allocations: 1.435 MB / 0.6065 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6262, allocations: 0 / 0.6065 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.6268, allocations: 109.8 kB / 0.6066 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.6268, allocations: 2.25 kB / 0.6066 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.6268, allocations: 16.42 kB / 0.6066 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6268, allocations: 2.312 kB / 0.6066 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6268, allocations: 0 / 0.6066 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.6286, allocations: 0.9565 MB / 0.6075 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.6289, allocations: 222.2 kB / 0.6077 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/0.629, allocations: 16.3 kB / 0.6078 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.6295, allocations: 34.94 kB / 0.6078 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.6296, allocations: 37.64 kB / 0.6078 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.6296, allocations: 20.23 kB / 0.6078 GB, free: 2.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007369/0.6304, allocations: 0.5158 MB / 0.6084 GB, free: 2.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6304, allocations: 0 / 0.6084 GB, free: 2.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008431/0.6312, allocations: 278.2 kB / 0.6086 GB, free: 2.422 MB / 446.1 MB 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.0001649/0.6314, allocations: 113.3 kB / 0.6087 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.6333, allocations: 0.8234 MB / 0.6095 GB, free: 1.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6334, allocations: 0.9062 kB / 0.6095 GB, free: 1.949 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.6339, allocations: 270 kB / 0.6098 GB, free: 1.836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.6352, allocations: 268.2 kB / 0.61 GB, free: 1.695 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.6385, allocations: 1.933 MB / 0.6119 GB, free: 376 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.6394, allocations: 0.9911 MB / 0.6129 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.6398, allocations: 65.95 kB / 0.613 GB, free: 15.53 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6398, allocations: 0 / 0.613 GB, free: 15.53 MB / 462.1 MB Notification: Performance of Templates: time 0.0251/0.6649, allocations: 10.92 MB / 0.6236 GB, free: 4.691 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (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)