Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001375/0.001375, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001398/0.001398, allocations: 197.7 kB / 16.25 MB, free: 6.629 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.022/1.022, allocations: 135.6 MB / 425.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 63.12 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1953, allocations: 81.02 MB / 0.5845 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005229/0.2006, allocations: 3.711 MB / 0.5881 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.2033, allocations: 1.297 MB / 0.5894 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.2037, allocations: 35.81 kB / 0.5894 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.2041, allocations: 91.11 kB / 0.5895 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.2046, allocations: 139 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2057, allocations: 0.525 MB / 0.5901 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.2068, allocations: 0.9604 MB / 0.5911 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000551/0.2074, allocations: 353.5 kB / 0.5914 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.2078, allocations: 374.2 kB / 0.5918 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.2082, allocations: 346.1 kB / 0.5921 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.2083, allocations: 80 kB / 0.5922 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.2084, allocations: 76 kB / 0.5923 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.2086, allocations: 183.3 kB / 0.5924 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.2089, allocations: 381.7 kB / 0.5928 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.2097, allocations: 0.8527 MB / 0.5936 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2098, allocations: 4 kB / 0.5936 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2098, allocations: 0 / 0.5936 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.2098, allocations: 0 / 0.5936 GB, free: 10.93 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.00211/0.2119, allocations: 1.191 MB / 0.5948 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.212, allocations: 8.031 kB / 0.5948 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.2121, allocations: 95.81 kB / 0.5949 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009485/0.2131, allocations: 0.5871 MB / 0.5955 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.2132, allocations: 105 kB / 0.5956 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.2133, allocations: 52.38 kB / 0.5956 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.2145, allocations: 0.6041 MB / 0.5962 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2145, allocations: 0 / 0.5962 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.2145, allocations: 20 kB / 0.5962 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2146, allocations: 19.94 kB / 0.5962 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009208/0.2155, allocations: 423.6 kB / 0.5967 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.2183, allocations: 2.11 MB / 0.5987 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.2195, allocations: 0.4991 MB / 0.5992 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004492/0.22, allocations: 212.8 kB / 0.5994 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/0.22, allocations: 8 kB / 0.5994 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007399/0.2208, allocations: 286.1 kB / 0.5997 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/0.2208, allocations: 0 / 0.5997 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001451/0.2223, allocations: 0.6163 MB / 0.6003 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.2223, allocations: 88.86 kB / 0.6004 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.2231, allocations: 0.6099 MB / 0.601 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.2231, allocations: 33.7 kB / 0.601 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.2234, allocations: 360.8 kB / 0.6013 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.2236, allocations: 157.7 kB / 0.6015 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.2238, allocations: 98.09 kB / 0.6016 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2239, allocations: 330 kB / 0.6019 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/0.2244, allocations: 183 kB / 0.6021 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.2249, allocations: 280.2 kB / 0.6023 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.2258, allocations: 477.8 kB / 0.6028 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.2258, allocations: 3.938 kB / 0.6028 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001157/0.2269, allocations: 0.6032 MB / 0.6034 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.227, allocations: 33.7 kB / 0.6034 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.227, allocations: 0 / 0.6034 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.227, allocations: 8 kB / 0.6034 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.2275, allocations: 107.8 kB / 0.6035 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2275, allocations: 7.984 kB / 0.6035 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.2279, allocations: 59.77 kB / 0.6036 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.228, allocations: 23.98 kB / 0.6036 GB, free: 296 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.314/0.542, allocations: 305.7 kB / 0.6039 GB, free: 51.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007914/0.5429, allocations: 266.4 kB / 0.6042 GB, free: 51.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008379/0.5437, allocations: 456.3 kB / 0.6046 GB, free: 51.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.738e-06/0.5437, allocations: 5.469 kB / 0.6046 GB, free: 51.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001114/0.5448, allocations: 0.5802 MB / 0.6052 GB, free: 51.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.5449, allocations: 31.39 kB / 0.6052 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5449, allocations: 3.781 kB / 0.6052 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.5449, allocations: 8.625 kB / 0.6052 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.5454, allocations: 103.5 kB / 0.6053 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5454, allocations: 12.83 kB / 0.6053 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.5458, allocations: 48.02 kB / 0.6054 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.5458, allocations: 17.44 kB / 0.6054 GB, free: 51.25 MB / 0.4981 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.0002362/0.5461, allocations: 212.9 kB / 0.6056 GB, free: 51.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/0.5462, allocations: 83.92 kB / 0.6057 GB, free: 51.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.5464, allocations: 77.52 kB / 0.6057 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.5464, allocations: 6.297 kB / 0.6058 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.5464, allocations: 0 / 0.6058 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5464, allocations: 0 / 0.6058 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.5471, allocations: 0.6245 MB / 0.6064 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5471, allocations: 2.625 kB / 0.6064 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.5475, allocations: 81.5 kB / 0.6064 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5476, allocations: 6.219 kB / 0.6064 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.5476, allocations: 11.66 kB / 0.6065 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5476, allocations: 0 / 0.6065 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5476, allocations: 0 / 0.6065 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.5489, allocations: 0.7299 MB / 0.6072 GB, free: 50.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.549, allocations: 189.5 kB / 0.6074 GB, free: 50.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.5491, allocations: 18.2 kB / 0.6074 GB, free: 50.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.5495, allocations: 35.75 kB / 0.6074 GB, free: 50.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.5496, allocations: 34.77 kB / 0.6074 GB, free: 50.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.5496, allocations: 19.34 kB / 0.6075 GB, free: 50.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003938/0.55, allocations: 426.1 kB / 0.6079 GB, free: 50.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.55, allocations: 0 / 0.6079 GB, free: 50.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005606/0.5506, allocations: 221.5 kB / 0.6081 GB, free: 50.39 MB / 0.4981 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.0001204/0.5507, allocations: 111.1 kB / 0.6082 GB, free: 50.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001399/0.5521, allocations: 0.8039 MB / 0.609 GB, free: 49.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5521, allocations: 3.656 kB / 0.609 GB, free: 49.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.5525, allocations: 219.3 kB / 0.6092 GB, free: 49.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/0.5534, allocations: 184.5 kB / 0.6094 GB, free: 49.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.5552, allocations: 1.449 MB / 0.6108 GB, free: 48.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5555, allocations: 0.9193 MB / 0.6117 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003643/0.5558, allocations: 91.69 kB / 0.6118 GB, free: 48.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.556, allocations: 48.19 kB / 0.6118 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.556, allocations: 0 / 0.6118 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.01221/0.5682, allocations: 7.514 MB / 0.6191 GB, free: 47.84 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)