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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01031/0.01031, allocations: 170.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8338/0.8338, allocations: 132.3 MB / 148.1 MB, free: 252 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.757/1.757, allocations: 223.2 MB / 403.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 99.22 kB / 485.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.000435, allocations: 12 kB / 0.5641 GB, free: 2.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6199/0.6204, allocations: 81.57 MB / 0.6437 GB, free: 39.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.797, allocations: 119.4 MB / 0.7604 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.7974, allocations: 87.95 kB / 0.7604 GB, free: 480 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05818/0.8556, allocations: 19.86 MB / 0.7798 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8557, allocations: 0 / 0.7798 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.00018/0.8559, allocations: 24 kB / 0.7799 GB, free: 12.54 MB / 0.5573 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.003925/0.8598, allocations: 1.243 MB / 0.7811 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.8599, allocations: 8.031 kB / 0.7811 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/0.8606, allocations: 126.5 kB / 0.7812 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/0.8628, allocations: 0.7268 MB / 0.7819 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.863, allocations: 83.7 kB / 0.782 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.8633, allocations: 72 kB / 0.7821 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.8651, allocations: 0.7782 MB / 0.7828 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.8652, allocations: 0 / 0.7828 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/0.8653, allocations: 31.94 kB / 0.7829 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.8653, allocations: 20 kB / 0.7829 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.8668, allocations: 0.5712 MB / 0.7834 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.8716, allocations: 2.353 MB / 0.7857 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.8733, allocations: 0.7034 MB / 0.7864 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.8734, allocations: 4.562 kB / 0.7864 GB, free: 5.602 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008464/0.8742, allocations: 354.9 kB / 0.7868 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 4.288e-06/0.8743, allocations: 4 kB / 0.7868 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.002009/0.8763, allocations: 0.8185 MB / 0.7876 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/0.8764, allocations: 133.1 kB / 0.7877 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.8775, allocations: 0.665 MB / 0.7883 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/0.8776, allocations: 37.7 kB / 0.7884 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.8781, allocations: 436.5 kB / 0.7888 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.8783, allocations: 209 kB / 0.789 GB, free: 2.902 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.8783, allocations: 12 kB / 0.789 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.8785, allocations: 326 kB / 0.7893 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.879, allocations: 233.2 kB / 0.7895 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.8796, allocations: 342.1 kB / 0.7899 GB, free: 1.965 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.8802, allocations: 254.1 kB / 0.7901 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.8802, allocations: 4 kB / 0.7901 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001481/0.8817, allocations: 0.6968 MB / 0.7908 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004005/0.8822, allocations: 0.8716 MB / 0.7916 GB, free: 68 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.8822, allocations: 3.984 kB / 0.7916 GB, free: 64 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.8822, allocations: 11.95 kB / 0.7917 GB, free: 52 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.5114/1.394, allocations: 158.7 kB / 0.7918 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/1.394, allocations: 6.188 kB / 0.7918 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/1.395, allocations: 80.28 kB / 0.7919 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/1.395, allocations: 22.23 kB / 0.7919 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.395, allocations: 5.188 kB / 0.7919 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001588/1.396, allocations: 0.5564 MB / 0.7925 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.396, allocations: 4.656 kB / 0.7925 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.396, allocations: 5.375 kB / 0.7925 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/1.397, allocations: 156.9 kB / 0.7926 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.397, allocations: 5.812 kB / 0.7926 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/1.398, allocations: 75.09 kB / 0.7927 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/1.398, allocations: 20.16 kB / 0.7927 GB, free: 131.8 MB / 0.5573 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,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,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.0006134/1.399, allocations: 305.3 kB / 0.793 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.399, allocations: 92.19 kB / 0.7931 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/1.399, allocations: 103.3 kB / 0.7932 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/1.399, allocations: 5.625 kB / 0.7932 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.399, allocations: 4.078 kB / 0.7932 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.399, allocations: 3.094 kB / 0.7932 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/1.402, allocations: 1.527 MB / 0.7947 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.402, allocations: 0.9375 kB / 0.7947 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006512/1.403, allocations: 113.3 kB / 0.7948 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/1.403, allocations: 2.031 kB / 0.7948 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/1.403, allocations: 15.73 kB / 0.7948 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.403, allocations: 2.469 kB / 0.7948 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.403, allocations: 3.438 kB / 0.7948 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/1.405, allocations: 1.042 MB / 0.7958 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/1.406, allocations: 233.5 kB / 0.7961 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.406, allocations: 12.48 kB / 0.7961 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/1.407, allocations: 61.44 kB / 0.7961 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.407, allocations: 34.19 kB / 0.7962 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/1.407, allocations: 18.78 kB / 0.7962 GB, free: 131 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001013/1.408, allocations: 0.5153 MB / 0.7967 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.408, allocations: 0 / 0.7967 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001424/1.409, allocations: 285.2 kB / 0.797 GB, free: 130.9 MB / 0.5573 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 (limPIDInp.trigger,$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.0002257/1.409, allocations: 117.8 kB / 0.7971 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002347/1.412, allocations: 0.8741 MB / 0.7979 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.412, allocations: 0 / 0.7979 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006977/1.413, allocations: 296.2 kB / 0.7982 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.414, allocations: 226.3 kB / 0.7984 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/1.418, allocations: 1.826 MB / 0.8002 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/1.419, allocations: 1.013 MB / 0.8012 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000895/1.42, allocations: 118.4 kB / 0.8013 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/1.42, allocations: 58.94 kB / 0.8014 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.433e-06/1.42, allocations: 0.5312 kB / 0.8014 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.02021/1.44, allocations: 9.098 MB / 0.8103 GB, free: 128.7 MB / 0.5573 GB 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)