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.007347/0.007347, allocations: 100.7 kB / 15.73 MB, free: 6.043 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.001546/0.001546, allocations: 190 kB / 16.67 MB, free: 5.977 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8814/0.8814, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 62.36 kB / 0.5813 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1927, allocations: 80.2 MB / 0.6596 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.006017/0.1988, allocations: 3.713 MB / 0.6633 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.2019, allocations: 1.332 MB / 0.6646 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.2024, allocations: 23.88 kB / 0.6646 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.2028, allocations: 126.6 kB / 0.6647 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.2035, allocations: 182.5 kB / 0.6649 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.2047, allocations: 0.5805 MB / 0.6654 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.2058, allocations: 0.9682 MB / 0.6664 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.2064, allocations: 357.5 kB / 0.6667 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004664/0.2068, allocations: 370.4 kB / 0.6671 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.2072, allocations: 346.1 kB / 0.6674 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.2073, allocations: 84 kB / 0.6675 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.2074, allocations: 76 kB / 0.6676 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2076, allocations: 187.2 kB / 0.6678 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.2079, allocations: 377.7 kB / 0.6681 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008786/0.2088, allocations: 0.8911 MB / 0.669 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2088, allocations: 3.984 kB / 0.669 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2088, allocations: 0 / 0.669 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2088, allocations: 0 / 0.669 GB, free: 3.879 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.00206/0.2109, allocations: 1.18 MB / 0.6701 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.2109, allocations: 12.03 kB / 0.6701 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.2111, allocations: 91.81 kB / 0.6702 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.2121, allocations: 0.622 MB / 0.6708 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.2122, allocations: 96.97 kB / 0.6709 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.2123, allocations: 56.36 kB / 0.671 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.2135, allocations: 0.5964 MB / 0.6716 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.2135, allocations: 4 kB / 0.6716 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.2136, allocations: 20 kB / 0.6716 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2136, allocations: 12 kB / 0.6716 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009166/0.2145, allocations: 427.6 kB / 0.672 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.2173, allocations: 2.106 MB / 0.6741 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.2184, allocations: 0.4965 MB / 0.6746 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/0.2189, allocations: 220.7 kB / 0.6748 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.351e-05/0.2189, allocations: 4 kB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006024/0.2195, allocations: 283.5 kB / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.575e-06/0.2196, allocations: 0 / 0.675 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001422/0.221, allocations: 0.6101 MB / 0.6756 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.2211, allocations: 92.84 kB / 0.6757 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.2218, allocations: 0.6099 MB / 0.6763 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.2218, allocations: 37.7 kB / 0.6764 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.2221, allocations: 360.8 kB / 0.6767 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2223, allocations: 149.8 kB / 0.6768 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.2224, allocations: 94.25 kB / 0.6769 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2226, allocations: 330 kB / 0.6772 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.223, allocations: 183 kB / 0.6774 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.2235, allocations: 284.2 kB / 0.6777 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.2244, allocations: 481.9 kB / 0.6782 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2244, allocations: 3.938 kB / 0.6782 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001137/0.2255, allocations: 0.5983 MB / 0.6787 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.2256, allocations: 29.7 kB / 0.6788 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2256, allocations: 4 kB / 0.6788 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.2256, allocations: 4 kB / 0.6788 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.2261, allocations: 107.8 kB / 0.6789 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.2261, allocations: 12.19 kB / 0.6789 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.2265, allocations: 67.41 kB / 0.679 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.2265, allocations: 20 kB / 0.679 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005276/0.2271, allocations: 309.2 kB / 0.6793 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004339/0.2275, allocations: 264.3 kB / 0.6795 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007812/0.2283, allocations: 454 kB / 0.68 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.117e-06/0.2283, allocations: 4 kB / 0.68 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001032/0.2294, allocations: 0.5788 MB / 0.6805 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.2294, allocations: 33.7 kB / 0.6806 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2294, allocations: 0 / 0.6806 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.2294, allocations: 4 kB / 0.6806 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.2298, allocations: 107.8 kB / 0.6807 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2299, allocations: 4 kB / 0.6807 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.2302, allocations: 47.67 kB / 0.6807 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.2302, allocations: 19.98 kB / 0.6807 GB, free: 7.32 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.0002091/0.2304, allocations: 224.7 kB / 0.6809 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.2306, allocations: 75.06 kB / 0.681 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.2307, allocations: 79.22 kB / 0.6811 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2307, allocations: 4 kB / 0.6811 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2308, allocations: 0 / 0.6811 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2308, allocations: 3.984 kB / 0.6811 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.2315, allocations: 0.618 MB / 0.6817 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2315, allocations: 0 / 0.6817 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.2319, allocations: 91.88 kB / 0.6818 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2319, allocations: 0 / 0.6818 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.232, allocations: 8 kB / 0.6818 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.232, allocations: 0 / 0.6818 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.232, allocations: 0 / 0.6818 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.2334, allocations: 0.7364 MB / 0.6825 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.2336, allocations: 192 kB / 0.6827 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.2337, allocations: 16.11 kB / 0.6827 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.2341, allocations: 35.97 kB / 0.6828 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.2342, allocations: 31.95 kB / 0.6828 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.2342, allocations: 15.98 kB / 0.6828 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004868/0.2347, allocations: 439 kB / 0.6832 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2347, allocations: 0 / 0.6832 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006085/0.2353, allocations: 211.4 kB / 0.6834 GB, free: 4.473 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.0001519/0.2355, allocations: 107.2 kB / 0.6835 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.237, allocations: 0.7932 MB / 0.6843 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2371, allocations: 0 / 0.6843 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.2375, allocations: 211.8 kB / 0.6845 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.2383, allocations: 205.2 kB / 0.6847 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.2404, allocations: 1.188 MB / 0.6859 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.241, allocations: 0.9141 MB / 0.6867 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003624/0.2413, allocations: 89.12 kB / 0.6868 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2415, allocations: 55.42 kB / 0.6869 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.2415, allocations: 0 / 0.6869 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of Templates: time 0.01504/0.2565, allocations: 7.653 MB / 0.6944 GB, free: 9.293 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)