Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Annex60.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.334/0.334, allocations: 55.01 MB / 69.96 MB, free: 8.688 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.001331/0.001331, allocations: 197.8 kB / 83.98 MB, free: 10.86 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.684/1.684, allocations: 194.4 MB / 292.3 MB, free: 3.617 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.001691/0.001691, allocations: 120.3 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004715, allocations: 12 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1588, allocations: 57.64 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4998/0.6587, allocations: 92.32 MB / 0.5555 GB, free: 13.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.6591, allocations: 80.14 kB / 0.5556 GB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03515/0.6943, allocations: 12.64 MB / 0.5679 GB, free: 2.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.6944, allocations: 7.875 kB / 0.5679 GB, free: 2.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.797e-05/0.6944, allocations: 19.98 kB / 0.5679 GB, free: 2.539 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001829/0.6962, allocations: 0.9605 MB / 0.5689 GB, free: 1.574 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.261e-05/0.6963, allocations: 8.031 kB / 0.5689 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.6965, allocations: 83.06 kB / 0.569 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.6976, allocations: 0.5404 MB / 0.5695 GB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.6976, allocations: 42.12 kB / 0.5695 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.6978, allocations: 63.11 kB / 0.5696 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.6991, allocations: 0.6626 MB / 0.5702 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.6992, allocations: 4 kB / 0.5702 GB, free: 464 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.6993, allocations: 23.98 kB / 0.5703 GB, free: 456 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.6993, allocations: 16 kB / 0.5703 GB, free: 440 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.7004, allocations: 0.5191 MB / 0.5708 GB, free: 84 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.7034, allocations: 2.099 MB / 0.5728 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.7045, allocations: 0.5418 MB / 0.5734 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.7045, allocations: 8.422 kB / 0.5734 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006206/0.7052, allocations: 296.4 kB / 0.5737 GB, free: 13.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 2.925e-06/0.7052, allocations: 0 / 0.5737 GB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.001407/0.7066, allocations: 0.7091 MB / 0.5743 GB, free: 13.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.7067, allocations: 170.6 kB / 0.5745 GB, free: 13.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.7072, allocations: 401.3 kB / 0.5749 GB, free: 12.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.7072, allocations: 33.58 kB / 0.5749 GB, free: 12.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.7075, allocations: 321.3 kB / 0.5752 GB, free: 12.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.7076, allocations: 169.7 kB / 0.5754 GB, free: 12.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.7077, allocations: 14.69 kB / 0.5754 GB, free: 12.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7078, allocations: 367.6 kB / 0.5758 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/0.7083, allocations: 202.1 kB / 0.576 GB, free: 11.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005062/0.7088, allocations: 308.3 kB / 0.5762 GB, free: 11.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.7093, allocations: 262.7 kB / 0.5765 GB, free: 11.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7093, allocations: 4 kB / 0.5765 GB, free: 11.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001094/0.7104, allocations: 0.627 MB / 0.5771 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.7108, allocations: 0.639 MB / 0.5777 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.7108, allocations: 7.953 kB / 0.5777 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.7108, allocations: 7.984 kB / 0.5778 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.7113, allocations: 118.8 kB / 0.5779 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.7114, allocations: 4 kB / 0.5779 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.7118, allocations: 85.36 kB / 0.5779 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.7119, allocations: 15 kB / 0.578 GB, free: 10.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-06/0.7119, allocations: 7.938 kB / 0.578 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008807/0.7128, allocations: 0.4982 MB / 0.5785 GB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.7128, allocations: 4 kB / 0.5785 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-06/0.7128, allocations: 7.938 kB / 0.5785 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.7132, allocations: 107.1 kB / 0.5786 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.7132, allocations: 4 kB / 0.5786 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.7136, allocations: 70.78 kB / 0.5786 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.7136, allocations: 19 kB / 0.5787 GB, free: 9.613 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.0003787/0.714, allocations: 287.9 kB / 0.5789 GB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.7141, allocations: 59.25 kB / 0.579 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.7142, allocations: 66.03 kB / 0.5791 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7143, allocations: 4 kB / 0.5791 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.7143, allocations: 0 / 0.5791 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.7143, allocations: 11.92 kB / 0.5791 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.7164, allocations: 1.315 MB / 0.5804 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.7164, allocations: 3.984 kB / 0.5804 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005239/0.7169, allocations: 114.8 kB / 0.5805 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.7169, allocations: 4 kB / 0.5805 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.717, allocations: 6.375 kB / 0.5805 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.717, allocations: 4 kB / 0.5805 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.717, allocations: 0 / 0.5805 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.7185, allocations: 0.8891 MB / 0.5813 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.7188, allocations: 182.3 kB / 0.5815 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.868e-05/0.7188, allocations: 10.31 kB / 0.5815 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.7192, allocations: 54.08 kB / 0.5816 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7193, allocations: 39.14 kB / 0.5816 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.7194, allocations: 15.23 kB / 0.5816 GB, free: 7.238 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.7197, allocations: 315.8 kB / 0.5819 GB, free: 7.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7197, allocations: 0 / 0.5819 GB, free: 7.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007638/0.7205, allocations: 270 kB / 0.5822 GB, free: 6.762 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001998/0.7207, allocations: 114.6 kB / 0.5823 GB, free: 6.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001503/0.7222, allocations: 0.8585 MB / 0.5831 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7222, allocations: 0 / 0.5831 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.7227, allocations: 257.8 kB / 0.5834 GB, free: 5.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.7234, allocations: 139.3 kB / 0.5835 GB, free: 5.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.7267, allocations: 1.825 MB / 0.5853 GB, free: 3.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.7272, allocations: 0.9062 MB / 0.5862 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000362/0.7276, allocations: 72.52 kB / 0.5863 GB, free: 2.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.7277, allocations: 39.44 kB / 0.5863 GB, free: 2.906 MB / 394.7 MB Notification: Performance of SimCode: time 9.11e-07/0.7277, allocations: 0 / 0.5863 GB, free: 2.906 MB / 394.7 MB Notification: Performance of Templates: time 0.01264/0.7404, allocations: 6.64 MB / 0.5928 GB, free: 12.32 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)