Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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-master/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-master/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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 177 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8143/0.8143, allocations: 133.6 MB / 141.6 MB, free: 2.867 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.481/1.481, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.000954/0.0009541, allocations: 100.3 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.424e-05, allocations: 3.984 kB / 0.5535 GB, free: 9.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4435, allocations: 82.3 MB / 0.6338 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.5871, allocations: 117.2 MB / 0.7483 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.5873, allocations: 83.95 kB / 0.7484 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.03279/0.6201, allocations: 12.24 MB / 0.7603 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6202, allocations: 0 / 0.7603 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.391e-05/0.6202, allocations: 20 kB / 0.7603 GB, free: 9.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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001443/0.6217, allocations: 0.8724 MB / 0.7612 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6217, allocations: 8.031 kB / 0.7612 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.6219, allocations: 90.95 kB / 0.7613 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000765/0.6226, allocations: 0.5233 MB / 0.7618 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.6227, allocations: 23.98 kB / 0.7618 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.6228, allocations: 40 kB / 0.7619 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008109/0.6236, allocations: 398.5 kB / 0.7622 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009523/0.6246, allocations: 0.5208 MB / 0.7627 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.6246, allocations: 3.906 kB / 0.7627 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.6246, allocations: 3.953 kB / 0.7628 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6247, allocations: 16 kB / 0.7628 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.628, allocations: 1.98 MB / 0.7647 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.6288, allocations: 403.5 kB / 0.7651 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.6291, allocations: 206.5 kB / 0.7653 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.6292, allocations: 8.438 kB / 0.7653 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000432/0.6296, allocations: 240.5 kB / 0.7655 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=50): time 2.856e-06/0.6297, allocations: 0 / 0.7655 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.0007661/0.6304, allocations: 400.2 kB / 0.7659 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6305, allocations: 166.6 kB / 0.7661 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004445/0.631, allocations: 349.2 kB / 0.7664 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/0.6311, allocations: 25.7 kB / 0.7664 GB, free: 2.723 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.6313, allocations: 320.3 kB / 0.7667 GB, free: 2.406 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.6315, allocations: 157.6 kB / 0.7669 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.6315, allocations: 4 kB / 0.7669 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.6317, allocations: 370.8 kB / 0.7672 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/0.6319, allocations: 141.1 kB / 0.7674 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.6323, allocations: 242.4 kB / 0.7676 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.6326, allocations: 170.1 kB / 0.7678 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6326, allocations: 4 kB / 0.7678 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007754/0.6334, allocations: 462.3 kB / 0.7682 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.585e-05/0.6334, allocations: 55.33 kB / 0.7683 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.6334, allocations: 0 / 0.7683 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.6335, allocations: 4 kB / 0.7683 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/0.634, allocations: 123.8 kB / 0.7684 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.634, allocations: 4 kB / 0.7684 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.6345, allocations: 71.55 kB / 0.7685 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.6345, allocations: 16 kB / 0.7685 GB, free: 0.5664 MB / 0.5417 GB 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.000141/0.6347, allocations: 116.9 kB / 0.7686 GB, free: 456 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.6348, allocations: 51.42 kB / 0.7686 GB, free: 404 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.6349, allocations: 65.16 kB / 0.7687 GB, free: 336 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6349, allocations: 8 kB / 0.7687 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.635, allocations: 0 / 0.7687 GB, free: 328 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.635, allocations: 3.984 kB / 0.7687 GB, free: 324 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.6366, allocations: 1.096 MB / 0.7698 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6366, allocations: 4 kB / 0.7698 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.6371, allocations: 119.8 kB / 0.7699 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.6372, allocations: 3.953 kB / 0.7699 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.6372, allocations: 7.984 kB / 0.7699 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6372, allocations: 0 / 0.7699 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6372, allocations: 4 kB / 0.7699 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.6383, allocations: 0.7095 MB / 0.7706 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.6385, allocations: 176.4 kB / 0.7708 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.6386, allocations: 11.95 kB / 0.7708 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.639, allocations: 39.95 kB / 0.7708 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.6391, allocations: 40.38 kB / 0.7709 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.6391, allocations: 12 kB / 0.7709 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003256/0.6395, allocations: 271 kB / 0.7711 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6395, allocations: 0 / 0.7711 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005812/0.64, allocations: 139.5 kB / 0.7713 GB, free: 13.62 MB / 0.5573 GB 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.0001829/0.6402, allocations: 107.1 kB / 0.7714 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006811/0.6409, allocations: 443.1 kB / 0.7718 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6409, allocations: 384 / 0.7718 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.6412, allocations: 205.5 kB / 0.772 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.642, allocations: 119.9 kB / 0.7721 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.6448, allocations: 1.235 MB / 0.7733 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.6453, allocations: 0.9057 MB / 0.7742 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003102/0.6456, allocations: 64.34 kB / 0.7742 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6457, allocations: 35.44 kB / 0.7743 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.6457, allocations: 4 kB / 0.7743 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of Templates: time 0.01064/0.6564, allocations: 5.51 MB / 0.7797 GB, free: 5.004 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)