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.001505/0.001505, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01541/0.01541, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.629/1.629, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8271/0.8271, allocations: 132.3 MB / 423.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003596, allocations: 8 kB / 0.504 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.5226, allocations: 81.58 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004866/0.5276, allocations: 3.891 MB / 0.5875 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004063/0.5317, allocations: 1.53 MB / 0.589 GB, free: 36 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.5327, allocations: 35 kB / 0.589 GB, free: 24 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004715/0.5332, allocations: 119.5 kB / 0.5891 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.5343, allocations: 186.3 kB / 0.5893 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.5365, allocations: 0.6137 MB / 0.5899 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.5392, allocations: 1.137 MB / 0.591 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.5403, allocations: 487.2 kB / 0.5915 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008563/0.5412, allocations: 356.6 kB / 0.5918 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005639/0.5417, allocations: 350.9 kB / 0.5921 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.5418, allocations: 25.81 kB / 0.5922 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.983e-05/0.5419, allocations: 26.53 kB / 0.5922 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.5421, allocations: 142.2 kB / 0.5923 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004296/0.5426, allocations: 410.6 kB / 0.5927 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.5441, allocations: 1.023 MB / 0.5937 GB, free: 13.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5442, allocations: 0 / 0.5937 GB, free: 13.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5442, allocations: 4 kB / 0.5937 GB, free: 13.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.5442, allocations: 1.062 kB / 0.5937 GB, free: 13.52 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.003182/0.5474, allocations: 1.228 MB / 0.5949 GB, free: 12.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5475, allocations: 9.594 kB / 0.5949 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.5478, allocations: 123.1 kB / 0.595 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.5493, allocations: 0.7298 MB / 0.5958 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.5495, allocations: 87.91 kB / 0.5958 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.5496, allocations: 69.77 kB / 0.5959 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.5513, allocations: 0.7435 MB / 0.5966 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.5514, allocations: 0 / 0.5966 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/0.5514, allocations: 27.59 kB / 0.5967 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.5515, allocations: 17.06 kB / 0.5967 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.5527, allocations: 0.5277 MB / 0.5972 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.5567, allocations: 2.305 MB / 0.5994 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.5582, allocations: 0.631 MB / 0.6001 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.5588, allocations: 274.9 kB / 0.6003 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.5589, allocations: 14.53 kB / 0.6003 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007697/0.5596, allocations: 328.6 kB / 0.6006 GB, free: 9.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.364e-06/0.5597, allocations: 0 / 0.6006 GB, free: 9.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001848/0.5615, allocations: 0.7767 MB / 0.6014 GB, free: 8.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.5616, allocations: 84.33 kB / 0.6015 GB, free: 8.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.5627, allocations: 0.7615 MB / 0.6022 GB, free: 8.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.5628, allocations: 36.7 kB / 0.6023 GB, free: 8.176 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.5632, allocations: 437 kB / 0.6027 GB, free: 7.797 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.5634, allocations: 209.3 kB / 0.6029 GB, free: 7.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.5635, allocations: 62.66 kB / 0.6029 GB, free: 7.566 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5636, allocations: 331.2 kB / 0.6033 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.5641, allocations: 205.6 kB / 0.6034 GB, free: 7.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.5647, allocations: 308.4 kB / 0.6037 GB, free: 6.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5658, allocations: 0.5257 MB / 0.6043 GB, free: 6.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5658, allocations: 0 / 0.6043 GB, free: 6.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001445/0.5672, allocations: 0.6679 MB / 0.6049 GB, free: 6.285 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.5674, allocations: 155.3 kB / 0.6051 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5674, allocations: 6.281 kB / 0.6051 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.5674, allocations: 5.406 kB / 0.6051 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/0.5681, allocations: 148.1 kB / 0.6052 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.5681, allocations: 9.656 kB / 0.6052 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005742/0.5687, allocations: 86.91 kB / 0.6053 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.5688, allocations: 22.81 kB / 0.6053 GB, free: 6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.5688, allocations: 4.312 kB / 0.6053 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/0.57, allocations: 0.5207 MB / 0.6058 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5701, allocations: 2.656 kB / 0.6058 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.5701, allocations: 5.156 kB / 0.6058 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006152/0.5707, allocations: 140.1 kB / 0.606 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.5707, allocations: 12.52 kB / 0.606 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.5713, allocations: 66.7 kB / 0.6061 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.5713, allocations: 22.38 kB / 0.6061 GB, free: 5.66 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.0005869/0.5719, allocations: 302.3 kB / 0.6064 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.5721, allocations: 94.31 kB / 0.6065 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.5724, allocations: 101.9 kB / 0.6065 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.5724, allocations: 9.875 kB / 0.6066 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/0.5724, allocations: 1.25 kB / 0.6066 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.5725, allocations: 3.984 kB / 0.6066 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.5754, allocations: 1.454 MB / 0.608 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5755, allocations: 0 / 0.608 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005918/0.5761, allocations: 105.5 kB / 0.6081 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.5761, allocations: 6.25 kB / 0.6081 GB, free: 4.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.5761, allocations: 15.97 kB / 0.6081 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.5762, allocations: 2.062 kB / 0.6081 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5762, allocations: 0 / 0.6081 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.5783, allocations: 0.9814 MB / 0.6091 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.5787, allocations: 226.1 kB / 0.6093 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.5789, allocations: 19.86 kB / 0.6093 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.5795, allocations: 42.81 kB / 0.6093 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.5796, allocations: 33.61 kB / 0.6094 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/0.5797, allocations: 19.36 kB / 0.6094 GB, free: 3.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001613/0.5814, allocations: 0.5168 MB / 0.6099 GB, free: 3.094 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5814, allocations: 4 kB / 0.6099 GB, free: 3.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001613/0.583, allocations: 273.7 kB / 0.6102 GB, free: 3.016 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.0003389/0.5834, allocations: 117.2 kB / 0.6103 GB, free: 2.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.5859, allocations: 0.812 MB / 0.6111 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5859, allocations: 1.469 kB / 0.6111 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.5866, allocations: 274.8 kB / 0.6113 GB, free: 2.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.5885, allocations: 248.7 kB / 0.6116 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.5928, allocations: 1.935 MB / 0.6135 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.5939, allocations: 0.9918 MB / 0.6144 GB, free: 160 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008819/0.5948, allocations: 115.7 kB / 0.6145 GB, free: 100 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.5951, allocations: 60.3 kB / 0.6146 GB, free: 88 kB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.5951, allocations: 0 / 0.6146 GB, free: 88 kB / 446.1 MB Notification: Performance of Templates: time 0.02192/0.617, allocations: 8.675 MB / 0.6231 GB, free: 7.57 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)