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.3218/0.3218, allocations: 54.33 MB / 66.89 MB, free: 6.09 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.0009493/0.0009494, allocations: 179.3 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.656/1.656, allocations: 194.2 MB / 288.6 MB, free: 15 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.002072/0.002072, allocations: 111.9 kB / 346.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.969e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 57.63 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4525/0.5763, allocations: 92.22 MB / 0.5491 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.5766, allocations: 79.95 kB / 0.5491 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03264/0.6093, allocations: 12.63 MB / 0.5615 GB, free: 1.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6093, allocations: 0 / 0.5615 GB, free: 1.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.335e-05/0.6094, allocations: 16.12 kB / 0.5615 GB, free: 1.473 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001478/0.6108, allocations: 0.8722 MB / 0.5623 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6109, allocations: 8.031 kB / 0.5623 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.6111, allocations: 86.97 kB / 0.5624 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007943/0.6119, allocations: 0.5214 MB / 0.5629 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.6119, allocations: 49.31 kB / 0.563 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.612, allocations: 75.88 kB / 0.5631 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009998/0.613, allocations: 0.5976 MB / 0.5636 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.6131, allocations: 4 kB / 0.5636 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.6132, allocations: 27.98 kB / 0.5637 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.6132, allocations: 20 kB / 0.5637 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007329/0.6139, allocations: 421.2 kB / 0.5641 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.6169, allocations: 2.103 MB / 0.5661 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000793/0.6177, allocations: 448.1 kB / 0.5666 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.6181, allocations: 214.5 kB / 0.5668 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.595e-05/0.6182, allocations: 12.42 kB / 0.5668 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.6187, allocations: 253.3 kB / 0.567 GB, free: 11.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 5.731e-06/0.6187, allocations: 3.984 kB / 0.567 GB, free: 11.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.0007758/0.6195, allocations: 423.5 kB / 0.5674 GB, free: 11.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.6196, allocations: 178.5 kB / 0.5676 GB, free: 10.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.6201, allocations: 388 kB / 0.568 GB, free: 10.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.6201, allocations: 33.7 kB / 0.568 GB, free: 10.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.6204, allocations: 337 kB / 0.5683 GB, free: 10.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.6205, allocations: 161.6 kB / 0.5685 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.6206, allocations: 12 kB / 0.5685 GB, free: 10.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.6208, allocations: 366.8 kB / 0.5689 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.6211, allocations: 153.1 kB / 0.569 GB, free: 9.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.6214, allocations: 263.6 kB / 0.5692 GB, free: 9.203 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.6218, allocations: 204.9 kB / 0.5694 GB, free: 8.996 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6218, allocations: 4 kB / 0.5694 GB, free: 8.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008734/0.6227, allocations: 0.5312 MB / 0.57 GB, free: 8.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00034/0.623, allocations: 0.6441 MB / 0.5706 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.623, allocations: 3.953 kB / 0.5706 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.623, allocations: 8 kB / 0.5706 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.6236, allocations: 127.8 kB / 0.5707 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.6236, allocations: 4 kB / 0.5707 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.624, allocations: 79.64 kB / 0.5708 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.6241, allocations: 16 kB / 0.5708 GB, free: 7.516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-06/0.6241, allocations: 7.938 kB / 0.5708 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006935/0.6248, allocations: 462.9 kB / 0.5713 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.6248, allocations: 0 / 0.5713 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.6248, allocations: 8.188 kB / 0.5713 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.6252, allocations: 111.8 kB / 0.5714 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6252, allocations: 7.984 kB / 0.5714 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.6256, allocations: 63.56 kB / 0.5715 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.6256, allocations: 20 kB / 0.5715 GB, free: 6.844 MB / 410.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 () * 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.0001448/0.6258, allocations: 145.5 kB / 0.5716 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.6258, allocations: 55.34 kB / 0.5717 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.626, allocations: 65.36 kB / 0.5717 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.626, allocations: 4 kB / 0.5717 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.626, allocations: 0 / 0.5717 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.626, allocations: 0 / 0.5717 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.6277, allocations: 1.224 MB / 0.5729 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.6277, allocations: 0 / 0.5729 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.6282, allocations: 111.8 kB / 0.573 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6282, allocations: 0 / 0.573 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.6282, allocations: 12 kB / 0.573 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.6282, allocations: 7.984 kB / 0.5731 GB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6282, allocations: 0 / 0.5731 GB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.6293, allocations: 0.7524 MB / 0.5738 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.6295, allocations: 184.3 kB / 0.574 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.615e-05/0.6296, allocations: 12 kB / 0.574 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.63, allocations: 51.95 kB / 0.574 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6301, allocations: 40.38 kB / 0.5741 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.6302, allocations: 12 kB / 0.5741 GB, free: 4.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003758/0.6305, allocations: 313.6 kB / 0.5744 GB, free: 3.777 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6305, allocations: 0 / 0.5744 GB, free: 3.777 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006915/0.6312, allocations: 263 kB / 0.5746 GB, free: 3.52 MB / 410.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) * 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.0001903/0.6314, allocations: 124.1 kB / 0.5747 GB, free: 3.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.6325, allocations: 0.7565 MB / 0.5755 GB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6325, allocations: 4 kB / 0.5755 GB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.6329, allocations: 206.5 kB / 0.5757 GB, free: 2.406 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007045/0.6336, allocations: 143.8 kB / 0.5758 GB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.6363, allocations: 1.272 MB / 0.5771 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.6367, allocations: 0.9073 MB / 0.5779 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004788/0.6372, allocations: 100.5 kB / 0.578 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.6373, allocations: 31.44 kB / 0.5781 GB, free: 15.89 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6373, allocations: 0 / 0.5781 GB, free: 15.89 MB / 426.7 MB Notification: Performance of Templates: time 0.01493/0.6523, allocations: 7.598 MB / 0.5855 GB, free: 8.332 MB / 426.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)