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.001516/0.001516, allocations: 112.6 kB / 16.37 MB, free: 6 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.00175/0.00175, allocations: 196 kB / 17.31 MB, free: 5.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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.728/0.728, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 59.91 kB / 0.5067 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2871, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004825/0.292, allocations: 4.327 MB / 0.59 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.2947, allocations: 1.583 MB / 0.5915 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007314/0.2955, allocations: 31.81 kB / 0.5916 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.2958, allocations: 171 kB / 0.5917 GB, free: 20.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.2964, allocations: 227.4 kB / 0.5919 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009968/0.2974, allocations: 0.6718 MB / 0.5926 GB, free: 19.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007156/0.2981, allocations: 1.223 MB / 0.5938 GB, free: 18.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005204/0.2986, allocations: 0.4988 MB / 0.5943 GB, free: 17.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.299, allocations: 462.9 kB / 0.5947 GB, free: 17.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003062/0.2993, allocations: 465.4 kB / 0.5952 GB, free: 16.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-05/0.2994, allocations: 100.8 kB / 0.5953 GB, free: 16.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.2995, allocations: 104 kB / 0.5954 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2996, allocations: 228.7 kB / 0.5956 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.2998, allocations: 493 kB / 0.596 GB, free: 16.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005966/0.3004, allocations: 1.153 MB / 0.5972 GB, free: 14.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3004, allocations: 4 kB / 0.5972 GB, free: 14.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3004, allocations: 9 kB / 0.5972 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3005, allocations: 0 / 0.5972 GB, free: 14.84 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.001818/0.3023, allocations: 1.4 MB / 0.5986 GB, free: 13.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3023, allocations: 9.109 kB / 0.5986 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.3025, allocations: 123.4 kB / 0.5987 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.3035, allocations: 0.757 MB / 0.5994 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.3035, allocations: 81.55 kB / 0.5995 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.3036, allocations: 72.28 kB / 0.5996 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009616/0.3046, allocations: 0.7372 MB / 0.6003 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.3046, allocations: 0 / 0.6003 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.3047, allocations: 29.47 kB / 0.6003 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.3047, allocations: 16 kB / 0.6003 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009213/0.3056, allocations: 0.519 MB / 0.6008 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.308, allocations: 2.242 MB / 0.603 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3091, allocations: 0.6232 MB / 0.6036 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/0.3095, allocations: 282.2 kB / 0.6039 GB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.3096, allocations: 4.562 kB / 0.6039 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004838/0.3101, allocations: 321 kB / 0.6042 GB, free: 7.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.973e-06/0.3101, allocations: 0 / 0.6042 GB, free: 7.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001242/0.3113, allocations: 0.7542 MB / 0.6049 GB, free: 6.707 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3114, allocations: 87.02 kB / 0.605 GB, free: 6.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006032/0.312, allocations: 0.7556 MB / 0.6058 GB, free: 5.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.312, allocations: 37.7 kB / 0.6058 GB, free: 5.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3122, allocations: 441.6 kB / 0.6062 GB, free: 5.359 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.573e-05/0.3123, allocations: 205 kB / 0.6064 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3125, allocations: 118.9 kB / 0.6065 GB, free: 5.031 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.3125, allocations: 330.8 kB / 0.6069 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.3129, allocations: 205.5 kB / 0.607 GB, free: 4.504 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.3133, allocations: 307.1 kB / 0.6073 GB, free: 4.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.314, allocations: 0.5069 MB / 0.6078 GB, free: 3.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.314, allocations: 0 / 0.6078 GB, free: 3.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009248/0.315, allocations: 0.6577 MB / 0.6085 GB, free: 2.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.315, allocations: 4 kB / 0.6085 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.315, allocations: 7.984 kB / 0.6085 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.315, allocations: 8.656 kB / 0.6085 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.3156, allocations: 147.3 kB / 0.6086 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3156, allocations: 11.92 kB / 0.6086 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.3159, allocations: 63.36 kB / 0.6087 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.316, allocations: 23.98 kB / 0.6087 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004513/0.3164, allocations: 361.2 kB / 0.6091 GB, free: 2.367 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003505/0.3168, allocations: 300.7 kB / 0.6094 GB, free: 2.039 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006572/0.3175, allocations: 495.7 kB / 0.6098 GB, free: 1.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.3175, allocations: 0 / 0.6098 GB, free: 1.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0008432/0.3183, allocations: 0.6268 MB / 0.6104 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-06/0.3183, allocations: 8 kB / 0.6105 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-06/0.3183, allocations: 0 / 0.6105 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.3184, allocations: 8 kB / 0.6105 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.3189, allocations: 135.8 kB / 0.6106 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3189, allocations: 11.94 kB / 0.6106 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003318/0.3192, allocations: 59.5 kB / 0.6107 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.3193, allocations: 20.09 kB / 0.6107 GB, free: 0.6523 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 9.895e-05/0.3194, allocations: 216.1 kB / 0.6109 GB, free: 444 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.3195, allocations: 94.78 kB / 0.611 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.3196, allocations: 105.2 kB / 0.6111 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3196, allocations: 8 kB / 0.6111 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3196, allocations: 7.875 kB / 0.6111 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3196, allocations: 3.984 kB / 0.6111 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.3215, allocations: 1.435 MB / 0.6125 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3215, allocations: 3.984 kB / 0.6125 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.3221, allocations: 103.8 kB / 0.6126 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3221, allocations: 3.984 kB / 0.6126 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.3221, allocations: 16 kB / 0.6126 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3221, allocations: 4 kB / 0.6126 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3221, allocations: 0 / 0.6126 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.3236, allocations: 0.9674 MB / 0.6136 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.3239, allocations: 223.8 kB / 0.6138 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/0.324, allocations: 12 kB / 0.6138 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.3244, allocations: 31.97 kB / 0.6138 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.3245, allocations: 36.5 kB / 0.6139 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.3245, allocations: 16 kB / 0.6139 GB, free: 13.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005432/0.3251, allocations: 0.5224 MB / 0.6144 GB, free: 12.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3251, allocations: 0 / 0.6144 GB, free: 12.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005995/0.3257, allocations: 275 kB / 0.6146 GB, free: 12.48 MB / 462.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.0001249/0.3258, allocations: 115.2 kB / 0.6148 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3272, allocations: 0.7953 MB / 0.6155 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3272, allocations: 1 kB / 0.6155 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.3277, allocations: 275.1 kB / 0.6158 GB, free: 11.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.3287, allocations: 267.4 kB / 0.6161 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.3308, allocations: 1.539 MB / 0.6176 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.3313, allocations: 0.9937 MB / 0.6185 GB, free: 8.461 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.3317, allocations: 114.9 kB / 0.6186 GB, free: 8.344 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.3319, allocations: 63.42 kB / 0.6187 GB, free: 8.281 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3319, allocations: 0 / 0.6187 GB, free: 8.281 MB / 462.1 MB Notification: Performance of Templates: time 0.01402/0.3459, allocations: 9.27 MB / 0.6277 GB, free: 15.12 MB / 478.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)