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.001762/0.001761, allocations: 110.5 kB / 16.38 MB, free: 6.473 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.001793/0.001794, allocations: 192.9 kB / 17.31 MB, free: 5.789 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8334/0.8334, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 61.14 kB / 0.5819 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1856, allocations: 80.22 MB / 0.6603 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005174/0.1908, allocations: 3.711 MB / 0.6639 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002677/0.1935, allocations: 1.321 MB / 0.6652 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.1939, allocations: 27.88 kB / 0.6652 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1943, allocations: 130.6 kB / 0.6653 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.1948, allocations: 170.5 kB / 0.6655 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.196, allocations: 0.5759 MB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009391/0.1969, allocations: 0.9642 MB / 0.667 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005096/0.1975, allocations: 349.6 kB / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004308/0.1979, allocations: 354.5 kB / 0.6677 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.1982, allocations: 358 kB / 0.668 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1983, allocations: 76 kB / 0.6681 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.216e-05/0.1985, allocations: 84 kB / 0.6682 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1986, allocations: 187.2 kB / 0.6683 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.1989, allocations: 373.7 kB / 0.6687 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008212/0.1997, allocations: 0.8911 MB / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1997, allocations: 0 / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1998, allocations: 0 / 0.6696 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.1998, allocations: 0 / 0.6696 GB, free: 0.7422 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.002014/0.2018, allocations: 1.187 MB / 0.6707 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2018, allocations: 8.031 kB / 0.6707 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.2021, allocations: 95.81 kB / 0.6708 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.2031, allocations: 0.6182 MB / 0.6714 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.2032, allocations: 92.97 kB / 0.6715 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.2033, allocations: 56.38 kB / 0.6716 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.2044, allocations: 0.6042 MB / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2044, allocations: 0 / 0.6722 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.2045, allocations: 20 kB / 0.6722 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.2045, allocations: 16 kB / 0.6722 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000984/0.2055, allocations: 431.6 kB / 0.6726 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.2082, allocations: 2.102 MB / 0.6747 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.2094, allocations: 0.4967 MB / 0.6751 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.2099, allocations: 216.7 kB / 0.6753 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.2099, allocations: 11.98 kB / 0.6754 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006345/0.2106, allocations: 281.9 kB / 0.6756 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.2106, allocations: 3.938 kB / 0.6756 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001474/0.2121, allocations: 0.6101 MB / 0.6762 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.2121, allocations: 84.86 kB / 0.6763 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/0.2128, allocations: 0.6138 MB / 0.6769 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/0.2129, allocations: 37.7 kB / 0.6769 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.2132, allocations: 352.8 kB / 0.6773 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.2133, allocations: 161.7 kB / 0.6774 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.2135, allocations: 90.25 kB / 0.6775 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2136, allocations: 334 kB / 0.6778 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.214, allocations: 179 kB / 0.678 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.2146, allocations: 276.2 kB / 0.6783 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008909/0.2155, allocations: 473.9 kB / 0.6787 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2155, allocations: 7.875 kB / 0.6787 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001187/0.2167, allocations: 0.5983 MB / 0.6793 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.2167, allocations: 35.58 kB / 0.6793 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.2168, allocations: 0 / 0.6793 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.2168, allocations: 13.08 kB / 0.6794 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.2173, allocations: 107.8 kB / 0.6795 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2173, allocations: 4 kB / 0.6795 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.2177, allocations: 63.67 kB / 0.6795 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.2177, allocations: 23.98 kB / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000526/0.2183, allocations: 309.2 kB / 0.6798 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000449/0.2187, allocations: 268.2 kB / 0.6801 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007873/0.2196, allocations: 457.9 kB / 0.6805 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.2196, allocations: 0 / 0.6805 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001107/0.2207, allocations: 0.5789 MB / 0.6811 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.2207, allocations: 41.72 kB / 0.6811 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2207, allocations: 4 kB / 0.6811 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.2208, allocations: 4 kB / 0.6811 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.2212, allocations: 99.83 kB / 0.6812 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.2212, allocations: 11.98 kB / 0.6813 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.2216, allocations: 43.67 kB / 0.6813 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2216, allocations: 20 kB / 0.6813 GB, free: 4.176 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.0002057/0.2218, allocations: 224 kB / 0.6815 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.2219, allocations: 75.05 kB / 0.6816 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.2221, allocations: 79.22 kB / 0.6817 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.2221, allocations: 4 kB / 0.6817 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2221, allocations: 0 / 0.6817 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2221, allocations: 7.984 kB / 0.6817 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00074/0.2229, allocations: 0.618 MB / 0.6823 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2229, allocations: 0 / 0.6823 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004526/0.2234, allocations: 87.88 kB / 0.6824 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2234, allocations: 7.938 kB / 0.6824 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.2234, allocations: 12 kB / 0.6824 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2234, allocations: 4 kB / 0.6824 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2234, allocations: 0 / 0.6824 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.225, allocations: 0.7286 MB / 0.6831 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.2252, allocations: 200 kB / 0.6833 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.2253, allocations: 4 kB / 0.6833 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.2258, allocations: 39.95 kB / 0.6833 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.2259, allocations: 31.95 kB / 0.6834 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.2259, allocations: 16 kB / 0.6834 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005091/0.2264, allocations: 431 kB / 0.6838 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2264, allocations: 0 / 0.6838 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006034/0.227, allocations: 215.4 kB / 0.684 GB, free: 1.324 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.0002147/0.2273, allocations: 107.2 kB / 0.6841 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.2289, allocations: 0.7854 MB / 0.6849 GB, free: 416 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2289, allocations: 4.188 kB / 0.6849 GB, free: 412 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.2294, allocations: 207.8 kB / 0.6851 GB, free: 204 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.2303, allocations: 204.2 kB / 0.6853 GB, free: 8 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.2325, allocations: 1.221 MB / 0.6865 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.2331, allocations: 0.918 MB / 0.6874 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.2333, allocations: 55.42 kB / 0.6874 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2333, allocations: 0 / 0.6874 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.01479/0.2481, allocations: 8.635 MB / 0.6958 GB, free: 5.16 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)