Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008059/0.008059, allocations: 102.5 kB / 15.73 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 199.2 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 240.3 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.867/0.867, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 74.06 kB / 0.5813 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2287, allocations: 80.2 MB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.008303/0.2371, allocations: 4.102 MB / 0.6636 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004223/0.2414, allocations: 1.328 MB / 0.6649 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.2426, allocations: 19.94 kB / 0.665 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007171/0.2433, allocations: 130.7 kB / 0.6651 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.2445, allocations: 182.4 kB / 0.6653 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.2462, allocations: 425.3 kB / 0.6657 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.248, allocations: 0.9515 MB / 0.6666 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.2491, allocations: 466 kB / 0.667 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.2498, allocations: 334.8 kB / 0.6674 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.2505, allocations: 338.3 kB / 0.6677 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002839/0.2508, allocations: 92 kB / 0.6678 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.2511, allocations: 88 kB / 0.6678 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.2513, allocations: 175.4 kB / 0.668 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006645/0.252, allocations: 398 kB / 0.6684 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.2536, allocations: 1.059 MB / 0.6694 GB, free: 200 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2536, allocations: 4 kB / 0.6694 GB, free: 196 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2536, allocations: 0 / 0.6694 GB, free: 196 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.529e-05/0.2537, allocations: 0 / 0.6694 GB, free: 196 kB / 0.4981 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.003288/0.257, allocations: 1.077 MB / 0.6705 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.2571, allocations: 12.03 kB / 0.6705 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.2574, allocations: 83.91 kB / 0.6706 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.2588, allocations: 0.565 MB / 0.6711 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.2589, allocations: 41.69 kB / 0.6712 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.2591, allocations: 64.36 kB / 0.6712 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.2609, allocations: 0.6117 MB / 0.6718 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.2609, allocations: 0 / 0.6718 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.261, allocations: 24 kB / 0.6719 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.2611, allocations: 16 kB / 0.6719 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.2627, allocations: 457 kB / 0.6723 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004598/0.2673, allocations: 1.993 MB / 0.6742 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.2687, allocations: 453.9 kB / 0.6747 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.2694, allocations: 242.1 kB / 0.6749 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.835e-05/0.2695, allocations: 4.438 kB / 0.6749 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008136/0.2703, allocations: 261.3 kB / 0.6752 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 3.757e-06/0.2703, allocations: 0 / 0.6752 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.001967/0.2723, allocations: 0.5882 MB / 0.6757 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.2724, allocations: 55.84 kB / 0.6758 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007518/0.2732, allocations: 450 kB / 0.6762 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.2732, allocations: 37.69 kB / 0.6763 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.2736, allocations: 320.3 kB / 0.6766 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.2738, allocations: 169.5 kB / 0.6767 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.274, allocations: 90.25 kB / 0.6768 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.2742, allocations: 362.8 kB / 0.6772 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.2748, allocations: 169 kB / 0.6773 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.2755, allocations: 253.8 kB / 0.6776 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.2768, allocations: 448 kB / 0.678 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2768, allocations: 4 kB / 0.678 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001632/0.2784, allocations: 0.5623 MB / 0.6785 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.2785, allocations: 37.64 kB / 0.6786 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.2785, allocations: 4.25 kB / 0.6786 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.2786, allocations: 11.94 kB / 0.6786 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.2793, allocations: 107.9 kB / 0.6787 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.2794, allocations: 7.938 kB / 0.6787 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.2799, allocations: 59.5 kB / 0.6788 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/0.28, allocations: 20 kB / 0.6788 GB, free: 6.273 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004056/0.2804, allocations: 206.3 kB / 0.679 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2806, allocations: 67.17 kB / 0.679 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.2807, allocations: 65.59 kB / 0.6791 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2808, allocations: 4 kB / 0.6791 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.2808, allocations: 0 / 0.6791 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2808, allocations: 3.984 kB / 0.6791 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/0.2835, allocations: 1.174 MB / 0.6803 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2835, allocations: 4 kB / 0.6803 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.2842, allocations: 99.81 kB / 0.6804 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.2843, allocations: 4 kB / 0.6804 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.2843, allocations: 8 kB / 0.6804 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.2843, allocations: 4 kB / 0.6804 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2844, allocations: 0 / 0.6804 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.286, allocations: 0.7574 MB / 0.6811 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.2863, allocations: 168.3 kB / 0.6813 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.2863, allocations: 12 kB / 0.6813 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.2866, allocations: 32.09 kB / 0.6813 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.2867, allocations: 32.39 kB / 0.6813 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.2867, allocations: 15.98 kB / 0.6814 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003348/0.2871, allocations: 310.9 kB / 0.6817 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2871, allocations: 0 / 0.6817 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004689/0.2876, allocations: 147.4 kB / 0.6818 GB, free: 3.086 MB / 0.5137 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.trigger.y,$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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001481/0.2877, allocations: 115.7 kB / 0.6819 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009026/0.2886, allocations: 485.2 kB / 0.6824 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2886, allocations: 0 / 0.6824 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003936/0.289, allocations: 214.4 kB / 0.6826 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.2898, allocations: 174.3 kB / 0.6827 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2924, allocations: 1.33 MB / 0.684 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.293, allocations: 0.89 MB / 0.6849 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002756/0.2932, allocations: 72.52 kB / 0.685 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.2934, allocations: 43.38 kB / 0.685 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.2934, allocations: 0 / 0.685 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of Templates: time 0.01246/0.3058, allocations: 5.99 MB / 0.6909 GB, free: 9.809 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)