Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 112.6 kB / 16.37 MB, free: 6 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.001028/0.001028, allocations: 196 kB / 17.31 MB, free: 5.613 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7755/0.7755, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 60.14 kB / 0.5032 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4013, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005713/0.4071, allocations: 4.101 MB / 0.5855 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.4094, allocations: 1.327 MB / 0.5868 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.4097, allocations: 21.34 kB / 0.5868 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.4101, allocations: 128.3 kB / 0.5869 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.4104, allocations: 179.2 kB / 0.5871 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.4112, allocations: 412.2 kB / 0.5875 GB, free: 22.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009316/0.4121, allocations: 0.9716 MB / 0.5884 GB, free: 22.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006291/0.4128, allocations: 464.2 kB / 0.5889 GB, free: 21.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.4131, allocations: 330.1 kB / 0.5892 GB, free: 21.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.4134, allocations: 333.1 kB / 0.5895 GB, free: 21.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.4135, allocations: 91.75 kB / 0.5896 GB, free: 21.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.4136, allocations: 91.06 kB / 0.5897 GB, free: 21.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.4138, allocations: 179 kB / 0.5899 GB, free: 21.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002904/0.4141, allocations: 400.4 kB / 0.5902 GB, free: 20.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.4148, allocations: 1.055 MB / 0.5913 GB, free: 19.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4148, allocations: 0 / 0.5913 GB, free: 19.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4148, allocations: 0.9062 kB / 0.5913 GB, free: 19.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.4148, allocations: 1.406 kB / 0.5913 GB, free: 19.99 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001536/0.4164, allocations: 1.068 MB / 0.5923 GB, free: 19.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.4164, allocations: 12.03 kB / 0.5923 GB, free: 19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.4165, allocations: 81.59 kB / 0.5924 GB, free: 18.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.4173, allocations: 0.5715 MB / 0.593 GB, free: 18.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.4173, allocations: 45.69 kB / 0.593 GB, free: 18.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.46e-05/0.4174, allocations: 60.22 kB / 0.5931 GB, free: 18.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.4182, allocations: 0.607 MB / 0.5937 GB, free: 17.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.4182, allocations: 3.984 kB / 0.5937 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.4183, allocations: 29 kB / 0.5937 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.4183, allocations: 12 kB / 0.5937 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008281/0.4192, allocations: 459.7 kB / 0.5941 GB, free: 17.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.4215, allocations: 2.002 MB / 0.5961 GB, free: 15.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007737/0.4223, allocations: 450.6 kB / 0.5965 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.4227, allocations: 238.6 kB / 0.5967 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.4228, allocations: 5.094 kB / 0.5968 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/0.4232, allocations: 264 kB / 0.597 GB, free: 14.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 1.823e-06/0.4232, allocations: 0 / 0.597 GB, free: 14.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001125/0.4244, allocations: 0.5798 MB / 0.5976 GB, free: 13.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.4244, allocations: 55.84 kB / 0.5976 GB, free: 13.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.4248, allocations: 453.9 kB / 0.5981 GB, free: 12.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.4249, allocations: 37.7 kB / 0.5981 GB, free: 12.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.425, allocations: 321 kB / 0.5984 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.4251, allocations: 166.1 kB / 0.5986 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.4253, allocations: 94.69 kB / 0.5986 GB, free: 12.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.4254, allocations: 367.3 kB / 0.599 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.4257, allocations: 167.4 kB / 0.5992 GB, free: 11.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.4261, allocations: 247.9 kB / 0.5994 GB, free: 11.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/0.4267, allocations: 453.9 kB / 0.5998 GB, free: 11.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4268, allocations: 4 kB / 0.5998 GB, free: 11.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008362/0.4276, allocations: 0.5568 MB / 0.6004 GB, free: 10.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4276, allocations: 38.69 kB / 0.6004 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4277, allocations: 4 kB / 0.6004 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4277, allocations: 5.562 kB / 0.6004 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.4281, allocations: 115.8 kB / 0.6005 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4281, allocations: 4 kB / 0.6005 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.4284, allocations: 57.98 kB / 0.6006 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.4285, allocations: 23.98 kB / 0.6006 GB, free: 10.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002134/0.4287, allocations: 207.2 kB / 0.6008 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.4288, allocations: 59.28 kB / 0.6009 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.4289, allocations: 66.52 kB / 0.6009 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.4289, allocations: 4 kB / 0.6009 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.4289, allocations: 1.125 kB / 0.6009 GB, free: 9.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4289, allocations: 4 kB / 0.6009 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.4303, allocations: 1.176 MB / 0.6021 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4303, allocations: 0 / 0.6021 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.4308, allocations: 96.38 kB / 0.6022 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4308, allocations: 5.5 kB / 0.6022 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.4308, allocations: 12 kB / 0.6022 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4308, allocations: 0 / 0.6022 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4308, allocations: 3.984 kB / 0.6022 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4319, allocations: 0.7641 MB / 0.6029 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.432, allocations: 173.5 kB / 0.6031 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.4321, allocations: 7.984 kB / 0.6031 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.4323, allocations: 29.03 kB / 0.6031 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.4324, allocations: 32.39 kB / 0.6032 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.4325, allocations: 15.94 kB / 0.6032 GB, free: 7.527 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002547/0.4327, allocations: 307.5 kB / 0.6035 GB, free: 7.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4327, allocations: 0.5 kB / 0.6035 GB, free: 7.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.4331, allocations: 148.7 kB / 0.6036 GB, free: 7.086 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001084/0.4333, allocations: 112.2 kB / 0.6037 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007307/0.434, allocations: 483.6 kB / 0.6042 GB, free: 6.488 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.434, allocations: 4 kB / 0.6042 GB, free: 6.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.4344, allocations: 216.1 kB / 0.6044 GB, free: 6.273 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/0.435, allocations: 157.2 kB / 0.6046 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.4371, allocations: 1.346 MB / 0.6059 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.4374, allocations: 0.8821 MB / 0.6067 GB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.4376, allocations: 64.58 kB / 0.6068 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.957e-05/0.4377, allocations: 39.44 kB / 0.6068 GB, free: 3.766 MB / 446.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4377, allocations: 0 / 0.6068 GB, free: 3.766 MB / 446.1 MB Notification: Performance of Templates: time 0.00924/0.4469, allocations: 5.913 MB / 0.6126 GB, free: 13.93 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)