Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.302/0.302, allocations: 55.01 MB / 69.96 MB, free: 8.672 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001399/0.001399, allocations: 202.5 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.837/1.837, allocations: 194.4 MB / 292.3 MB, free: 3.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00163/0.00163, allocations: 116.6 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003513, allocations: 15.98 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5167/0.6472, allocations: 93.01 MB / 0.5562 GB, free: 12.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.6475, allocations: 79.52 kB / 0.5562 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05214/0.6996, allocations: 19.35 MB / 0.5751 GB, free: 12.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6997, allocations: 0 / 0.5751 GB, free: 12.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.336e-05/0.6998, allocations: 27.94 kB / 0.5752 GB, free: 12.07 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002373/0.7021, allocations: 1.221 MB / 0.5764 GB, free: 10.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.7022, allocations: 11.97 kB / 0.5764 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002318/0.7024, allocations: 118.6 kB / 0.5765 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.7038, allocations: 0.7151 MB / 0.5772 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.491e-05/0.7039, allocations: 77.83 kB / 0.5773 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.704, allocations: 71.28 kB / 0.5773 GB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.7053, allocations: 0.7371 MB / 0.578 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.7053, allocations: 7.984 kB / 0.578 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.7054, allocations: 32.23 kB / 0.5781 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.7054, allocations: 16 kB / 0.5781 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.7065, allocations: 0.5475 MB / 0.5786 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.7098, allocations: 2.14 MB / 0.5807 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.7114, allocations: 0.7005 MB / 0.5814 GB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.7114, allocations: 8.562 kB / 0.5814 GB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006836/0.7121, allocations: 347.1 kB / 0.5817 GB, free: 6.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=59): time 2.225e-06/0.7121, allocations: 0 / 0.5817 GB, free: 6.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=59): time 0.001639/0.7138, allocations: 0.8128 MB / 0.5825 GB, free: 5.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.935e-05/0.7139, allocations: 137.1 kB / 0.5827 GB, free: 5.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008107/0.7147, allocations: 0.6373 MB / 0.5833 GB, free: 5.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.7147, allocations: 32.73 kB / 0.5833 GB, free: 5.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.7151, allocations: 424.8 kB / 0.5837 GB, free: 5.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.7153, allocations: 203.8 kB / 0.5839 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.7153, allocations: 13.5 kB / 0.5839 GB, free: 4.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7154, allocations: 332.3 kB / 0.5842 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.7159, allocations: 216 kB / 0.5845 GB, free: 4.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.7165, allocations: 324.8 kB / 0.5848 GB, free: 4.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.717, allocations: 252.4 kB / 0.585 GB, free: 3.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.717, allocations: 7.953 kB / 0.585 GB, free: 3.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001302/0.7183, allocations: 0.6814 MB / 0.5857 GB, free: 3.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002887/0.7186, allocations: 0.6999 MB / 0.5864 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7186, allocations: 0 / 0.5864 GB, free: 2.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.7186, allocations: 8 kB / 0.5864 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/0.7195, allocations: 159.5 kB / 0.5865 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.7195, allocations: 4 kB / 0.5865 GB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/0.7201, allocations: 81.7 kB / 0.5866 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.7201, allocations: 19.73 kB / 0.5866 GB, free: 2.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.086e-06/0.7201, allocations: 4 kB / 0.5866 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007791/0.7209, allocations: 0.4928 MB / 0.5871 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.7209, allocations: 0 / 0.5871 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.7209, allocations: 8 kB / 0.5871 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.7216, allocations: 135 kB / 0.5872 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.7216, allocations: 12.17 kB / 0.5873 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.7221, allocations: 66.11 kB / 0.5873 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.7221, allocations: 15.25 kB / 0.5873 GB, free: 1.926 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.trigger.pulsStart,trigger.pulsStart,limPIDInp.trigger,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0004863/0.7226, allocations: 287.3 kB / 0.5876 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.7228, allocations: 94.83 kB / 0.5877 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.723, allocations: 101.7 kB / 0.5878 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.723, allocations: 12 kB / 0.5878 GB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.723, allocations: 3.984 kB / 0.5878 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.723, allocations: 0 / 0.5878 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.7252, allocations: 1.499 MB / 0.5893 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.7252, allocations: 0 / 0.5893 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.7258, allocations: 115.1 kB / 0.5894 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.7258, allocations: 0 / 0.5894 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.7259, allocations: 13.5 kB / 0.5894 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.7259, allocations: 4 kB / 0.5894 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.7259, allocations: 3.984 kB / 0.5894 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.7279, allocations: 1.028 MB / 0.5904 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.7283, allocations: 226.4 kB / 0.5906 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.7284, allocations: 13.31 kB / 0.5906 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.7289, allocations: 50.77 kB / 0.5907 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.729, allocations: 35.69 kB / 0.5907 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.7291, allocations: 19.94 kB / 0.5907 GB, free: 15.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006736/0.7298, allocations: 0.5014 MB / 0.5912 GB, free: 14.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7298, allocations: 0 / 0.5912 GB, free: 14.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008922/0.7307, allocations: 280.6 kB / 0.5915 GB, free: 14.6 MB / 410.7 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 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.0002203/0.7309, allocations: 116.1 kB / 0.5916 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.7326, allocations: 0.8201 MB / 0.5924 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.7327, allocations: 4.125 kB / 0.5924 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.7332, allocations: 285 kB / 0.5927 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.7343, allocations: 219.1 kB / 0.5929 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.7375, allocations: 1.777 MB / 0.5946 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.7383, allocations: 1.002 MB / 0.5956 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006316/0.7389, allocations: 118 kB / 0.5957 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.7392, allocations: 63.11 kB / 0.5958 GB, free: 10.67 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.7392, allocations: 0 / 0.5958 GB, free: 10.67 MB / 410.7 MB Notification: Performance of Templates: time 0.01655/0.7557, allocations: 9.048 MB / 0.6046 GB, free: 1.688 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)