Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01048/0.01048, allocations: 101.2 kB / 15.73 MB, free: 6.016 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.001941/0.001941, allocations: 197.4 kB / 16.67 MB, free: 5.938 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8554/0.8554, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 64.38 kB / 0.5813 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2154, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.007114/0.2226, allocations: 3.702 MB / 0.6633 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003879/0.2265, allocations: 1.328 MB / 0.6646 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.2276, allocations: 27.88 kB / 0.6646 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.2283, allocations: 126.6 kB / 0.6647 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.2296, allocations: 174.6 kB / 0.6649 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.2312, allocations: 0.577 MB / 0.6654 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.2327, allocations: 0.972 MB / 0.6664 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006064/0.2333, allocations: 349.6 kB / 0.6667 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.2339, allocations: 370.5 kB / 0.6671 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004143/0.2343, allocations: 354 kB / 0.6674 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.2345, allocations: 80 kB / 0.6675 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.2346, allocations: 76 kB / 0.6676 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/0.2348, allocations: 183.2 kB / 0.6677 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.2352, allocations: 381.7 kB / 0.6681 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009746/0.2361, allocations: 0.8872 MB / 0.669 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2362, allocations: 0 / 0.669 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2362, allocations: 0 / 0.669 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.2362, allocations: 4 kB / 0.669 GB, free: 0.6562 MB / 0.4981 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.002192/0.2384, allocations: 1.183 MB / 0.6701 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2384, allocations: 12.03 kB / 0.6701 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2386, allocations: 91.81 kB / 0.6702 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.2398, allocations: 0.6259 MB / 0.6708 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.2399, allocations: 92.97 kB / 0.6709 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/0.24, allocations: 64.34 kB / 0.671 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.2413, allocations: 0.599 MB / 0.6716 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.2413, allocations: 0 / 0.6716 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.2414, allocations: 24 kB / 0.6716 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.2414, allocations: 12 kB / 0.6716 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.2424, allocations: 427.6 kB / 0.672 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.2455, allocations: 2.098 MB / 0.6741 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.2468, allocations: 0.4977 MB / 0.6745 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.2473, allocations: 226.4 kB / 0.6748 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.2473, allocations: 11.94 kB / 0.6748 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006701/0.248, allocations: 274.1 kB / 0.675 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.695e-06/0.248, allocations: 7.938 kB / 0.675 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001518/0.2496, allocations: 0.6062 MB / 0.6756 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.2497, allocations: 84.86 kB / 0.6757 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.2504, allocations: 0.6177 MB / 0.6763 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.2505, allocations: 33.7 kB / 0.6764 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.2508, allocations: 364.8 kB / 0.6767 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.2509, allocations: 153.8 kB / 0.6768 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.2511, allocations: 94.25 kB / 0.6769 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2513, allocations: 326 kB / 0.6772 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.2518, allocations: 179 kB / 0.6774 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000514/0.2523, allocations: 276.2 kB / 0.6777 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009196/0.2533, allocations: 481.9 kB / 0.6781 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2533, allocations: 3.938 kB / 0.6781 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001319/0.2546, allocations: 0.5943 MB / 0.6787 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.2547, allocations: 37.69 kB / 0.6788 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.2547, allocations: 8.297 kB / 0.6788 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.2547, allocations: 8 kB / 0.6788 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.2552, allocations: 107.8 kB / 0.6789 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.2552, allocations: 4 kB / 0.6789 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003945/0.2556, allocations: 67.41 kB / 0.6789 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.2557, allocations: 16 kB / 0.679 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005573/0.2562, allocations: 313.2 kB / 0.6793 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005135/0.2568, allocations: 268.2 kB / 0.6795 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008844/0.2577, allocations: 450 kB / 0.6799 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.2577, allocations: 0 / 0.6799 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001087/0.2588, allocations: 0.5864 MB / 0.6805 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.2588, allocations: 33.64 kB / 0.6806 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2588, allocations: 4 kB / 0.6806 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.2588, allocations: 4 kB / 0.6806 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.2593, allocations: 107.8 kB / 0.6807 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.2593, allocations: 8.25 kB / 0.6807 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.2597, allocations: 47.67 kB / 0.6807 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.2597, allocations: 27.98 kB / 0.6807 GB, free: 4.078 MB / 0.5137 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.0002885/0.26, allocations: 216.6 kB / 0.681 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.2602, allocations: 75.06 kB / 0.681 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.2604, allocations: 79.22 kB / 0.6811 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2604, allocations: 4 kB / 0.6811 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2604, allocations: 4 kB / 0.6811 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.2604, allocations: 3.984 kB / 0.6811 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/0.2612, allocations: 0.618 MB / 0.6817 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2612, allocations: 0 / 0.6817 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.2616, allocations: 87.88 kB / 0.6818 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2616, allocations: 0 / 0.6818 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.2617, allocations: 12 kB / 0.6818 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2617, allocations: 0 / 0.6818 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2617, allocations: 0 / 0.6818 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.2633, allocations: 0.7364 MB / 0.6825 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/0.2636, allocations: 196 kB / 0.6827 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.2637, allocations: 8 kB / 0.6827 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/0.2641, allocations: 35.95 kB / 0.6828 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2642, allocations: 31.95 kB / 0.6828 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.2642, allocations: 15.98 kB / 0.6828 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005212/0.2648, allocations: 431 kB / 0.6832 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2648, allocations: 0 / 0.6832 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006534/0.2654, allocations: 215.4 kB / 0.6834 GB, free: 1.242 MB / 0.5137 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.0001742/0.2656, allocations: 107.2 kB / 0.6835 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.2673, allocations: 0.7887 MB / 0.6843 GB, free: 328 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2674, allocations: 0 / 0.6843 GB, free: 328 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004567/0.2678, allocations: 212.5 kB / 0.6845 GB, free: 116 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.2687, allocations: 210.7 kB / 0.6847 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.271, allocations: 1.184 MB / 0.6859 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.2715, allocations: 0.9218 MB / 0.6868 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003903/0.2719, allocations: 89.12 kB / 0.6868 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.2721, allocations: 59.36 kB / 0.6869 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.2721, allocations: 0 / 0.6869 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of Templates: time 0.01567/0.2878, allocations: 7.637 MB / 0.6944 GB, free: 6.055 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)