Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008579/0.008579, allocations: 102.4 kB / 15.73 MB, free: 6.039 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.001613/0.001613, allocations: 196.7 kB / 16.68 MB, free: 5.957 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8948/0.8948, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 61.66 kB / 0.5856 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2266, allocations: 80.92 MB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.00516/0.2318, allocations: 3.718 MB / 0.6682 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002608/0.2345, allocations: 1.325 MB / 0.6695 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.2348, allocations: 27.81 kB / 0.6696 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.2352, allocations: 130.6 kB / 0.6697 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.2357, allocations: 182.5 kB / 0.6699 GB, free: 436 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2369, allocations: 0.5701 MB / 0.6704 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009377/0.2378, allocations: 0.9682 MB / 0.6714 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005184/0.2383, allocations: 345.6 kB / 0.6717 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.2388, allocations: 378.4 kB / 0.672 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.2391, allocations: 358.1 kB / 0.6724 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.2392, allocations: 76 kB / 0.6725 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.39e-05/0.2393, allocations: 80 kB / 0.6725 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.2395, allocations: 179.2 kB / 0.6727 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.2398, allocations: 385.7 kB / 0.6731 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008385/0.2407, allocations: 0.8872 MB / 0.6739 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.2407, allocations: 0 / 0.6739 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2407, allocations: 4 kB / 0.6739 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.2407, allocations: 0 / 0.6739 GB, free: 12.22 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00201/0.2427, allocations: 1.183 MB / 0.6751 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2428, allocations: 9.109 kB / 0.6751 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.2429, allocations: 95.81 kB / 0.6752 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.2439, allocations: 0.6143 MB / 0.6758 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.2441, allocations: 96.97 kB / 0.6759 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.613e-05/0.2442, allocations: 60.28 kB / 0.676 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2452, allocations: 0.6041 MB / 0.6765 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.2452, allocations: 0 / 0.6765 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.2453, allocations: 20 kB / 0.6766 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.2453, allocations: 12 kB / 0.6766 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/0.2462, allocations: 427.6 kB / 0.677 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.2488, allocations: 2.102 MB / 0.679 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.2499, allocations: 0.4923 MB / 0.6795 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.2504, allocations: 222.6 kB / 0.6797 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.705e-05/0.2504, allocations: 4 kB / 0.6797 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000603/0.2511, allocations: 286 kB / 0.68 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.2511, allocations: 3.938 kB / 0.68 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001373/0.2524, allocations: 0.6112 MB / 0.6806 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.2525, allocations: 84.86 kB / 0.6807 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.2532, allocations: 0.61 MB / 0.6813 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.2533, allocations: 37.7 kB / 0.6813 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.2535, allocations: 352.8 kB / 0.6817 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.2537, allocations: 161.7 kB / 0.6818 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.2538, allocations: 98.19 kB / 0.6819 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.254, allocations: 326 kB / 0.6822 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/0.2544, allocations: 183 kB / 0.6824 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.2549, allocations: 280.2 kB / 0.6827 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/0.2557, allocations: 473.9 kB / 0.6831 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.2557, allocations: 3.938 kB / 0.6831 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001117/0.2569, allocations: 0.6021 MB / 0.6837 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.2569, allocations: 33.7 kB / 0.6837 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2569, allocations: 4 kB / 0.6837 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.257, allocations: 7.984 kB / 0.6837 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.2574, allocations: 116.1 kB / 0.6839 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.2575, allocations: 4 kB / 0.6839 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.2578, allocations: 63.41 kB / 0.6839 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.2579, allocations: 20 kB / 0.6839 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005065/0.2584, allocations: 305.2 kB / 0.6842 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004187/0.2588, allocations: 268.2 kB / 0.6845 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00076/0.2596, allocations: 458 kB / 0.6849 GB, free: 484 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.863e-06/0.2596, allocations: 0 / 0.6849 GB, free: 484 kB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009948/0.2606, allocations: 0.5787 MB / 0.6855 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.2606, allocations: 37.69 kB / 0.6855 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2606, allocations: 4 kB / 0.6855 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2607, allocations: 7.984 kB / 0.6855 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.2611, allocations: 95.89 kB / 0.6856 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2611, allocations: 15.86 kB / 0.6856 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.2614, allocations: 47.92 kB / 0.6857 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.2615, allocations: 20 kB / 0.6857 GB, free: 15.65 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001874/0.2617, allocations: 222.1 kB / 0.6859 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2618, allocations: 75.05 kB / 0.686 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.2619, allocations: 79.22 kB / 0.6861 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.262, allocations: 4 kB / 0.6861 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.262, allocations: 0 / 0.6861 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.262, allocations: 3.984 kB / 0.6861 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.2626, allocations: 0.618 MB / 0.6867 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2627, allocations: 8 kB / 0.6867 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.2631, allocations: 83.88 kB / 0.6868 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2631, allocations: 0 / 0.6868 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.2631, allocations: 12 kB / 0.6868 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2632, allocations: 4 kB / 0.6868 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2632, allocations: 0 / 0.6868 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.2646, allocations: 0.7236 MB / 0.6875 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.2648, allocations: 200 kB / 0.6877 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.2649, allocations: 8 kB / 0.6877 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.2652, allocations: 47.89 kB / 0.6877 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.2653, allocations: 27.95 kB / 0.6878 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.2654, allocations: 16.12 kB / 0.6878 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004947/0.2659, allocations: 427 kB / 0.6882 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2659, allocations: 0 / 0.6882 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005732/0.2665, allocations: 215.4 kB / 0.6884 GB, free: 12.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001681/0.2666, allocations: 120.5 kB / 0.6885 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.2681, allocations: 0.7854 MB / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2681, allocations: 0 / 0.6893 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.2686, allocations: 211.9 kB / 0.6895 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.2694, allocations: 203.8 kB / 0.6897 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.2715, allocations: 1.172 MB / 0.6908 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.272, allocations: 0.9178 MB / 0.6917 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000332/0.2723, allocations: 97.11 kB / 0.6918 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.2724, allocations: 51.38 kB / 0.6918 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.2724, allocations: 0 / 0.6918 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of Templates: time 0.01407/0.2865, allocations: 7.665 MB / 0.6993 GB, free: 1.609 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)