Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007698/0.007698, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.586/1.586, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 8 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2585, allocations: 82.31 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005228/0.2638, allocations: 3.303 MB / 0.5912 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.2673, allocations: 1.282 MB / 0.5924 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005532/0.2678, allocations: 23.88 kB / 0.5925 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.2682, allocations: 91.11 kB / 0.5925 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.2688, allocations: 142.7 kB / 0.5927 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.2701, allocations: 0.5319 MB / 0.5932 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2712, allocations: 0.9017 MB / 0.5941 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005743/0.2718, allocations: 333.6 kB / 0.5944 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.2722, allocations: 278.3 kB / 0.5947 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003679/0.2726, allocations: 270.1 kB / 0.5949 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.2727, allocations: 24 kB / 0.5949 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.692e-05/0.2727, allocations: 20 kB / 0.595 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2728, allocations: 115.3 kB / 0.5951 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003245/0.2732, allocations: 327.4 kB / 0.5954 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007785/0.274, allocations: 0.7977 MB / 0.5962 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.274, allocations: 4 kB / 0.5962 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.236e-06/0.274, allocations: 0 / 0.5962 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.274, allocations: 0 / 0.5962 GB, free: 10.16 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002204/0.2762, allocations: 1.051 MB / 0.5972 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.2763, allocations: 12.03 kB / 0.5972 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.2765, allocations: 95.81 kB / 0.5973 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.2774, allocations: 0.5948 MB / 0.5979 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.2776, allocations: 96.95 kB / 0.598 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.981e-05/0.2777, allocations: 52.38 kB / 0.598 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.2789, allocations: 0.6159 MB / 0.5986 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2789, allocations: 0 / 0.5986 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.279, allocations: 24 kB / 0.5986 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.279, allocations: 12 kB / 0.5987 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.28, allocations: 447.6 kB / 0.5991 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.2832, allocations: 2.137 MB / 0.6012 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2845, allocations: 0.5163 MB / 0.6017 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005088/0.285, allocations: 228.8 kB / 0.6019 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.2851, allocations: 4 kB / 0.6019 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007697/0.2859, allocations: 298.3 kB / 0.6022 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 4.599e-06/0.2859, allocations: 0 / 0.6022 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001599/0.2875, allocations: 0.6437 MB / 0.6028 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.2876, allocations: 92.84 kB / 0.6029 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008176/0.2884, allocations: 0.6099 MB / 0.6035 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.2885, allocations: 37.7 kB / 0.6035 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.2888, allocations: 356.8 kB / 0.6039 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.2889, allocations: 145.8 kB / 0.604 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.289, allocations: 57.69 kB / 0.6041 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.2892, allocations: 330 kB / 0.6044 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.2897, allocations: 181 kB / 0.6046 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.2902, allocations: 292.2 kB / 0.6048 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2912, allocations: 490 kB / 0.6053 GB, free: 440 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2913, allocations: 3.938 kB / 0.6053 GB, free: 436 kB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.4638/0.755, allocations: 0.6199 MB / 0.6059 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.7553, allocations: 187.5 kB / 0.6061 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.7553, allocations: 2.375 kB / 0.6061 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/0.7553, allocations: 5.094 kB / 0.6061 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.7558, allocations: 115.8 kB / 0.6062 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7559, allocations: 3.375 kB / 0.6062 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.7564, allocations: 69.44 kB / 0.6063 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.7564, allocations: 18.7 kB / 0.6063 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.7565, allocations: 12.22 kB / 0.6063 GB, free: 48.4 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009465/0.7574, allocations: 0.5067 MB / 0.6068 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7574, allocations: 3.094 kB / 0.6068 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-06/0.7574, allocations: 9.625 kB / 0.6068 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.7578, allocations: 106.7 kB / 0.6069 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7579, allocations: 7.328 kB / 0.6069 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.7582, allocations: 54.25 kB / 0.607 GB, free: 48.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.7583, allocations: 25.06 kB / 0.607 GB, free: 48.37 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0003181/0.7586, allocations: 271.8 kB / 0.6073 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.7587, allocations: 74.88 kB / 0.6073 GB, free: 48.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.7588, allocations: 80.03 kB / 0.6074 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.7588, allocations: 3.359 kB / 0.6074 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.7589, allocations: 4.969 kB / 0.6074 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7589, allocations: 7.328 kB / 0.6074 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/0.7595, allocations: 0.6235 MB / 0.608 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7595, allocations: 3.906 kB / 0.608 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.7599, allocations: 86.5 kB / 0.6081 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7599, allocations: 0.8906 kB / 0.6081 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.76, allocations: 13.73 kB / 0.6081 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.76, allocations: 3.25 kB / 0.6081 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.76, allocations: 0 / 0.6081 GB, free: 47.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.7613, allocations: 0.7592 MB / 0.6089 GB, free: 47.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.7615, allocations: 195.5 kB / 0.6091 GB, free: 47.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.7616, allocations: 9.312 kB / 0.6091 GB, free: 47.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.762, allocations: 45 kB / 0.6091 GB, free: 47.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/0.7621, allocations: 36.31 kB / 0.6091 GB, free: 47.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.7621, allocations: 15.58 kB / 0.6092 GB, free: 47.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004475/0.7625, allocations: 432.5 kB / 0.6096 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7626, allocations: 0 / 0.6096 GB, free: 47.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005764/0.7631, allocations: 214.3 kB / 0.6098 GB, free: 47.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001436/0.7633, allocations: 113 kB / 0.6099 GB, free: 47.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.7647, allocations: 0.8116 MB / 0.6107 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7648, allocations: 0 / 0.6107 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004835/0.7653, allocations: 232.8 kB / 0.6109 GB, free: 47.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009579/0.7662, allocations: 194.9 kB / 0.6111 GB, free: 47.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.7683, allocations: 1.467 MB / 0.6125 GB, free: 46.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.7686, allocations: 0.9174 MB / 0.6134 GB, free: 45.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003778/0.769, allocations: 92.11 kB / 0.6135 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.7691, allocations: 46.28 kB / 0.6135 GB, free: 45.89 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.7691, allocations: 4 kB / 0.6135 GB, free: 45.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.0128/0.7819, allocations: 7.127 MB / 0.6205 GB, free: 45.48 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)