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.001645/0.001645, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 130.7 MB / 138.7 MB, free: 3.664 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0009222/0.0009223, allocations: 104 kB / 473.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.609e-05/1.612e-05, allocations: 0 / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4704, allocations: 81.57 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.6289, allocations: 118.7 MB / 0.7441 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.6292, allocations: 79.95 kB / 0.7441 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05532/0.6845, allocations: 19.68 MB / 0.7634 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6845, allocations: 0 / 0.7634 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001479/0.6847, allocations: 28.12 kB / 0.7634 GB, free: 4.211 MB / 0.5417 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.002698/0.6874, allocations: 1.074 MB / 0.7644 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6875, allocations: 12.03 kB / 0.7644 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.688, allocations: 122.6 kB / 0.7646 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.6899, allocations: 0.7191 MB / 0.7653 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.69, allocations: 55.7 kB / 0.7653 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.6902, allocations: 47.84 kB / 0.7654 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00107/0.6913, allocations: 455.9 kB / 0.7658 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.6925, allocations: 0.6261 MB / 0.7664 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.6925, allocations: 0 / 0.7664 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.6926, allocations: 4 kB / 0.7664 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.6926, allocations: 16 kB / 0.7664 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004217/0.6968, allocations: 2.211 MB / 0.7686 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.698, allocations: 0.5635 MB / 0.7691 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.6984, allocations: 202.5 kB / 0.7693 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.617e-05/0.6984, allocations: 4.562 kB / 0.7693 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005367/0.699, allocations: 290.4 kB / 0.7696 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 3.336e-06/0.699, allocations: 0 / 0.7696 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.001013/0.7, allocations: 498.4 kB / 0.7701 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.7001, allocations: 141 kB / 0.7702 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.701, allocations: 0.5553 MB / 0.7708 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.7011, allocations: 29.7 kB / 0.7708 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.7015, allocations: 444.1 kB / 0.7712 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.7017, allocations: 205 kB / 0.7714 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.7017, allocations: 0 / 0.7714 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7018, allocations: 326 kB / 0.7717 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.7021, allocations: 169.6 kB / 0.7719 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.7025, allocations: 293.9 kB / 0.7722 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.7029, allocations: 206.1 kB / 0.7724 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.7029, allocations: 0 / 0.7724 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001009/0.7039, allocations: 0.5487 MB / 0.7729 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000445/0.7044, allocations: 0.8792 MB / 0.7738 GB, free: 9.184 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.7044, allocations: 4 kB / 0.7738 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.7044, allocations: 8 kB / 0.7738 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.7054, allocations: 155.8 kB / 0.7739 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.7054, allocations: 8 kB / 0.7739 GB, free: 9.012 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.7061, allocations: 71.44 kB / 0.774 GB, free: 8.941 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.7062, allocations: 24 kB / 0.774 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7062, allocations: 5.719 kB / 0.774 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008138/0.707, allocations: 441.2 kB / 0.7744 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.707, allocations: 4 kB / 0.7744 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.7071, allocations: 8.25 kB / 0.7745 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.7078, allocations: 151.8 kB / 0.7746 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.7079, allocations: 4 kB / 0.7746 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006194/0.7085, allocations: 55.56 kB / 0.7747 GB, free: 8.262 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.7086, allocations: 23.98 kB / 0.7747 GB, free: 8.238 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 () * 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.0002361/0.7088, allocations: 122.4 kB / 0.7748 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.7091, allocations: 94.86 kB / 0.7749 GB, free: 8.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.7094, allocations: 92.86 kB / 0.775 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.7094, allocations: 4 kB / 0.775 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7094, allocations: 0 / 0.775 GB, free: 7.926 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.7095, allocations: 3.984 kB / 0.775 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.7119, allocations: 1.318 MB / 0.7763 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.7119, allocations: 3.938 kB / 0.7763 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.7125, allocations: 111.8 kB / 0.7764 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.7126, allocations: 0 / 0.7764 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.7126, allocations: 4 kB / 0.7764 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.7126, allocations: 8 kB / 0.7764 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7126, allocations: 0 / 0.7764 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.714, allocations: 0.8578 MB / 0.7772 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.7143, allocations: 231.7 kB / 0.7774 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.7145, allocations: 3.984 kB / 0.7775 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005703/0.7151, allocations: 43.95 kB / 0.7775 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.7152, allocations: 36.52 kB / 0.7775 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.7153, allocations: 23.98 kB / 0.7776 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006742/0.7159, allocations: 435.1 kB / 0.778 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.716, allocations: 0 / 0.778 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001054/0.717, allocations: 262.8 kB / 0.7782 GB, free: 4.527 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 () * 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.0002272/0.7173, allocations: 115.1 kB / 0.7783 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.7187, allocations: 0.7349 MB / 0.779 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7187, allocations: 0 / 0.779 GB, free: 3.668 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.7192, allocations: 238.1 kB / 0.7793 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.7204, allocations: 220 kB / 0.7795 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.723, allocations: 1.128 MB / 0.7806 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.7237, allocations: 1.014 MB / 0.7816 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009023/0.7246, allocations: 161 kB / 0.7817 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.7248, allocations: 47.42 kB / 0.7818 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of SimCode: time 3.557e-06/0.7248, allocations: 0 / 0.7818 GB, free: 0.8164 MB / 0.5573 GB Notification: Performance of Templates: time 0.02053/0.7454, allocations: 9.685 MB / 0.7912 GB, free: 7.246 MB / 0.573 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)