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.3002/0.3002, allocations: 54.33 MB / 66.89 MB, free: 6.125 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.001441/0.001441, allocations: 182.5 kB / 80.7 MB, free: 15.4 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.851/1.851, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001643/0.001644, allocations: 108.6 kB / 346.9 MB, free: 4.809 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.091e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1457, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.6237, allocations: 92.91 MB / 0.5497 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.624, allocations: 75.95 kB / 0.5498 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0529/0.6769, allocations: 19.3 MB / 0.5687 GB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.6769, allocations: 0 / 0.5687 GB, free: 10.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.816e-05/0.677, allocations: 24 kB / 0.5687 GB, free: 10.09 MB / 410.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.001889/0.6789, allocations: 1.054 MB / 0.5697 GB, free: 8.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.679, allocations: 8.031 kB / 0.5697 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.6792, allocations: 118.6 kB / 0.5698 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.6806, allocations: 0.7106 MB / 0.5705 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.6807, allocations: 83.02 kB / 0.5706 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.6808, allocations: 67.98 kB / 0.5707 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.682, allocations: 0.6938 MB / 0.5714 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.682, allocations: 0 / 0.5714 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.871e-05/0.6821, allocations: 28 kB / 0.5714 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.6821, allocations: 16 kB / 0.5714 GB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007932/0.6829, allocations: 473.1 kB / 0.5718 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003401/0.6863, allocations: 2.138 MB / 0.5739 GB, free: 4.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.6875, allocations: 0.5862 MB / 0.5745 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.6878, allocations: 222.5 kB / 0.5747 GB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/0.6879, allocations: 8.5 kB / 0.5747 GB, free: 3.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.6884, allocations: 311 kB / 0.575 GB, free: 3.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 2.084e-06/0.6885, allocations: 0 / 0.575 GB, free: 3.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=59): time 0.0009654/0.6894, allocations: 0.514 MB / 0.5755 GB, free: 2.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.6896, allocations: 141.1 kB / 0.5757 GB, free: 2.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007852/0.6904, allocations: 0.6181 MB / 0.5763 GB, free: 2.059 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.6904, allocations: 45.64 kB / 0.5763 GB, free: 2.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.6907, allocations: 416.6 kB / 0.5767 GB, free: 1.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.6909, allocations: 201 kB / 0.5769 GB, free: 1.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.691, allocations: 12 kB / 0.5769 GB, free: 1.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6911, allocations: 330.1 kB / 0.5772 GB, free: 1.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/0.6914, allocations: 173.6 kB / 0.5774 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.6918, allocations: 281.8 kB / 0.5777 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.6922, allocations: 207.1 kB / 0.5779 GB, free: 388 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6922, allocations: 0 / 0.5779 GB, free: 388 kB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009753/0.6932, allocations: 0.5877 MB / 0.5784 GB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003866/0.6936, allocations: 0.7054 MB / 0.5791 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6936, allocations: 3.984 kB / 0.5791 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.6936, allocations: 8 kB / 0.5791 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008554/0.6945, allocations: 159.8 kB / 0.5793 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.6945, allocations: 7.953 kB / 0.5793 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.6951, allocations: 83.41 kB / 0.5794 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.963e-05/0.6951, allocations: 19.98 kB / 0.5794 GB, free: 14.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6952, allocations: 6.188 kB / 0.5794 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008312/0.696, allocations: 481.2 kB / 0.5799 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.696, allocations: 0 / 0.5799 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.515e-06/0.696, allocations: 8 kB / 0.5799 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.6967, allocations: 135.8 kB / 0.58 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.6967, allocations: 4 kB / 0.58 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.6972, allocations: 67.7 kB / 0.5801 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.6972, allocations: 16 kB / 0.5801 GB, free: 14.04 MB / 426.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 () * 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.0002267/0.6974, allocations: 145.4 kB / 0.5802 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.6976, allocations: 94.81 kB / 0.5803 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.6979, allocations: 96.86 kB / 0.5804 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.698, allocations: 15.92 kB / 0.5804 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.698, allocations: 0 / 0.5804 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.698, allocations: 0 / 0.5804 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00223/0.7002, allocations: 1.419 MB / 0.5818 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.7003, allocations: 0 / 0.5818 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/0.7008, allocations: 111.9 kB / 0.5819 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.7008, allocations: 4 kB / 0.5819 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.7009, allocations: 16 kB / 0.5819 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.7009, allocations: 0 / 0.5819 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7009, allocations: 0 / 0.5819 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.7022, allocations: 0.8967 MB / 0.5828 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.7025, allocations: 231.7 kB / 0.583 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.7026, allocations: 12 kB / 0.583 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.7031, allocations: 51.95 kB / 0.5831 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.7032, allocations: 40.5 kB / 0.5831 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.7033, allocations: 19.98 kB / 0.5831 GB, free: 10.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006041/0.7039, allocations: 495.2 kB / 0.5836 GB, free: 10.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7039, allocations: 0 / 0.5836 GB, free: 10.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000729/0.7046, allocations: 275.2 kB / 0.5839 GB, free: 10.05 MB / 426.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 () * 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.0001831/0.7048, allocations: 119.2 kB / 0.584 GB, free: 9.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.706, allocations: 0.7583 MB / 0.5847 GB, free: 9.172 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.706, allocations: 4 kB / 0.5847 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.7064, allocations: 243.9 kB / 0.585 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7074, allocations: 227.1 kB / 0.5852 GB, free: 8.707 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.7096, allocations: 1.134 MB / 0.5863 GB, free: 7.543 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.7102, allocations: 1.007 MB / 0.5873 GB, free: 6.508 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007415/0.7109, allocations: 169.2 kB / 0.5874 GB, free: 6.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.7111, allocations: 47.42 kB / 0.5875 GB, free: 6.293 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7111, allocations: 0 / 0.5875 GB, free: 6.293 MB / 426.7 MB Notification: Performance of Templates: time 0.01917/0.7303, allocations: 10.66 MB / 0.5979 GB, free: 11.7 MB / 442.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)