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.00112/0.00112, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.001167/0.001167, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.838/0.838, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4243, allocations: 80.17 MB / 0.5815 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005452/0.4298, allocations: 3.711 MB / 0.5851 GB, free: 24.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.4327, allocations: 1.33 MB / 0.5864 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.4332, allocations: 26.44 kB / 0.5864 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.4335, allocations: 131.1 kB / 0.5865 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.4341, allocations: 185 kB / 0.5867 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.4351, allocations: 0.5676 MB / 0.5873 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008798/0.436, allocations: 0.9627 MB / 0.5882 GB, free: 22.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.4365, allocations: 352.8 kB / 0.5885 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.4369, allocations: 363.6 kB / 0.5889 GB, free: 21.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.4372, allocations: 354.4 kB / 0.5892 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.4374, allocations: 77.28 kB / 0.5893 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.4375, allocations: 78.5 kB / 0.5894 GB, free: 21.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.4376, allocations: 182.5 kB / 0.5896 GB, free: 21.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.4379, allocations: 379.8 kB / 0.5899 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000659/0.4385, allocations: 0.8832 MB / 0.5908 GB, free: 20.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.4386, allocations: 0 / 0.5908 GB, free: 20.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4386, allocations: 0 / 0.5908 GB, free: 20.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4386, allocations: 1.469 kB / 0.5908 GB, free: 20.48 MB / 446.1 MB 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.001752/0.4403, allocations: 1.183 MB / 0.5919 GB, free: 19.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4404, allocations: 12.03 kB / 0.592 GB, free: 19.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.4405, allocations: 99.73 kB / 0.592 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.4413, allocations: 0.6227 MB / 0.5927 GB, free: 18.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.4414, allocations: 93.81 kB / 0.5927 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.4415, allocations: 56.38 kB / 0.5928 GB, free: 18.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008527/0.4424, allocations: 0.6031 MB / 0.5934 GB, free: 17.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4424, allocations: 0.5 kB / 0.5934 GB, free: 17.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.4424, allocations: 28.5 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4425, allocations: 12 kB / 0.5934 GB, free: 17.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.4433, allocations: 422.8 kB / 0.5938 GB, free: 17.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.4454, allocations: 2.094 MB / 0.5959 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.4464, allocations: 0.5017 MB / 0.5964 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.4468, allocations: 225.6 kB / 0.5966 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.4468, allocations: 4 kB / 0.5966 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005226/0.4474, allocations: 281.5 kB / 0.5969 GB, free: 14.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.4474, allocations: 0 / 0.5969 GB, free: 14.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001165/0.4485, allocations: 0.6053 MB / 0.5974 GB, free: 13.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.4486, allocations: 88.86 kB / 0.5975 GB, free: 13.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.4491, allocations: 0.6189 MB / 0.5981 GB, free: 12.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.4492, allocations: 33.7 kB / 0.5982 GB, free: 12.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.4494, allocations: 351.6 kB / 0.5985 GB, free: 12.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/0.4494, allocations: 161.6 kB / 0.5987 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.4496, allocations: 94.25 kB / 0.5987 GB, free: 12.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.4497, allocations: 326 kB / 0.5991 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.45, allocations: 188.9 kB / 0.5992 GB, free: 11.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.4504, allocations: 277 kB / 0.5995 GB, free: 11.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/0.4511, allocations: 481.4 kB / 0.6 GB, free: 10.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4512, allocations: 7.875 kB / 0.6 GB, free: 10.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009231/0.4521, allocations: 0.5936 MB / 0.6005 GB, free: 10.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.4521, allocations: 42.91 kB / 0.6006 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4521, allocations: 4 kB / 0.6006 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.4522, allocations: 4 kB / 0.6006 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.4526, allocations: 104.4 kB / 0.6007 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4526, allocations: 10.28 kB / 0.6007 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.4529, allocations: 71.34 kB / 0.6008 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.453, allocations: 16 kB / 0.6008 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004285/0.4534, allocations: 311.3 kB / 0.6011 GB, free: 9.742 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003527/0.4538, allocations: 262.8 kB / 0.6013 GB, free: 9.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006316/0.4544, allocations: 453.6 kB / 0.6018 GB, free: 8.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.4544, allocations: 0 / 0.6018 GB, free: 8.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0008386/0.4553, allocations: 0.5825 MB / 0.6023 GB, free: 8.391 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4553, allocations: 33.69 kB / 0.6024 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-06/0.4553, allocations: 4 kB / 0.6024 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.738e-06/0.4553, allocations: 4 kB / 0.6024 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.4557, allocations: 106.7 kB / 0.6025 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4557, allocations: 7.984 kB / 0.6025 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.456, allocations: 43.67 kB / 0.6025 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.4561, allocations: 20 kB / 0.6025 GB, free: 8.172 MB / 446.1 MB 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.0001258/0.4562, allocations: 218 kB / 0.6028 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.4563, allocations: 75.06 kB / 0.6028 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.4564, allocations: 79.22 kB / 0.6029 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4564, allocations: 4 kB / 0.6029 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/0.4564, allocations: 0.6875 kB / 0.6029 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4564, allocations: 3.984 kB / 0.6029 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.4569, allocations: 0.6257 MB / 0.6035 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.457, allocations: 0 / 0.6035 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.4574, allocations: 87.88 kB / 0.6036 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4574, allocations: 0 / 0.6036 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.4574, allocations: 16 kB / 0.6036 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4574, allocations: 0 / 0.6036 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4574, allocations: 7.875 kB / 0.6036 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.4587, allocations: 0.7286 MB / 0.6043 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.4589, allocations: 188.2 kB / 0.6045 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.4589, allocations: 8 kB / 0.6045 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.4593, allocations: 39.95 kB / 0.6046 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.4594, allocations: 31.95 kB / 0.6046 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.4594, allocations: 19.92 kB / 0.6046 GB, free: 5.953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003662/0.4598, allocations: 427.1 kB / 0.605 GB, free: 5.543 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4598, allocations: 0 / 0.605 GB, free: 5.543 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.4603, allocations: 223.2 kB / 0.6052 GB, free: 5.324 MB / 446.1 MB 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.0001166/0.4604, allocations: 114 kB / 0.6053 GB, free: 5.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.4617, allocations: 0.7854 MB / 0.6061 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4617, allocations: 0 / 0.6061 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.4621, allocations: 215.8 kB / 0.6063 GB, free: 4.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.4628, allocations: 212.3 kB / 0.6065 GB, free: 3.988 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.4646, allocations: 1.174 MB / 0.6077 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.4648, allocations: 0.9102 MB / 0.6085 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003049/0.4651, allocations: 97.11 kB / 0.6086 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.4653, allocations: 51.44 kB / 0.6087 GB, free: 1.699 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4653, allocations: 0 / 0.6087 GB, free: 1.699 MB / 446.1 MB Notification: Performance of Templates: time 0.01271/0.478, allocations: 7.57 MB / 0.6161 GB, free: 10.22 MB / 462.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)