Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6899/0.6899, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 222.9 MB / 403.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 110.6 kB / 484.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 51.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1548, allocations: 80.19 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001985/0.1568, allocations: 0.6598 MB / 0.6408 GB, free: 6.133 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 5.7e-05/0.1569, allocations: 8 kB / 0.6408 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.157, allocations: 0 / 0.6408 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.157, allocations: 0 / 0.6408 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.157, allocations: 0 / 0.6408 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.606e-05/0.1571, allocations: 0 / 0.6408 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.81e-05/0.1571, allocations: 0 / 0.6408 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.1572, allocations: 7.984 kB / 0.6408 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.1572, allocations: 0 / 0.6408 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.687e-05/0.1572, allocations: 0 / 0.6408 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.1573, allocations: 0 / 0.6408 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.306e-06/0.1573, allocations: 0 / 0.6408 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1573, allocations: 7.984 kB / 0.6408 GB, free: 6.109 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.1573, allocations: 11.94 kB / 0.6408 GB, free: 6.098 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 4.592e-05/0.1574, allocations: 0 / 0.6408 GB, free: 6.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1574, allocations: 0 / 0.6408 GB, free: 6.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1574, allocations: 4 kB / 0.6408 GB, free: 6.094 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1574, allocations: 0 / 0.6408 GB, free: 6.094 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002747/0.1577, allocations: 303.6 kB / 0.6411 GB, free: 5.746 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1577, allocations: 16.08 kB / 0.6411 GB, free: 5.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.1577, allocations: 0.9375 kB / 0.6411 GB, free: 5.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.744e-05/0.1578, allocations: 160.4 kB / 0.6413 GB, free: 5.535 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.1579, allocations: 4.375 kB / 0.6413 GB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.1579, allocations: 8.297 kB / 0.6413 GB, free: 5.523 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.158, allocations: 34.27 kB / 0.6413 GB, free: 5.484 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.158, allocations: 192 / 0.6413 GB, free: 5.484 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.158, allocations: 3.938 kB / 0.6413 GB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.158, allocations: 0 / 0.6413 GB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.459e-05/0.1581, allocations: 0 / 0.6413 GB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.1582, allocations: 145.7 kB / 0.6415 GB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.662e-05/0.1582, allocations: 26.61 kB / 0.6415 GB, free: 5.254 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.1583, allocations: 16.86 kB / 0.6415 GB, free: 5.234 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.1583, allocations: 0 / 0.6415 GB, free: 5.234 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1583, allocations: 30.56 kB / 0.6416 GB, free: 5.195 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1583, allocations: 0 / 0.6416 GB, free: 5.195 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.1584, allocations: 33.64 kB / 0.6416 GB, free: 5.156 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1585, allocations: 55.53 kB / 0.6416 GB, free: 5.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.924e-05/0.1585, allocations: 89.86 kB / 0.6417 GB, free: 4.992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1586, allocations: 29.64 kB / 0.6418 GB, free: 4.957 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.1586, allocations: 80.14 kB / 0.6418 GB, free: 4.875 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1586, allocations: 11.89 kB / 0.6418 GB, free: 4.863 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.1587, allocations: 13.72 kB / 0.6419 GB, free: 4.844 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1588, allocations: 310.8 kB / 0.6421 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.1588, allocations: 3.938 kB / 0.6422 GB, free: 4.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.1588, allocations: 8 kB / 0.6422 GB, free: 4.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.1588, allocations: 8.797 kB / 0.6422 GB, free: 4.508 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1588, allocations: 4 kB / 0.6422 GB, free: 4.504 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.987e-05/0.1589, allocations: 33.7 kB / 0.6422 GB, free: 4.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1589, allocations: 4.781 kB / 0.6422 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1589, allocations: 0 / 0.6422 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1589, allocations: 7.922 kB / 0.6422 GB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.159, allocations: 4 kB / 0.6422 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.159, allocations: 0 / 0.6422 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.159, allocations: 4.094 kB / 0.6422 GB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.159, allocations: 0 / 0.6422 GB, free: 4.445 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.061e-05/0.1591, allocations: 111.1 kB / 0.6423 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.596e-06/0.1591, allocations: 4 kB / 0.6423 GB, free: 4.324 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.758e-05/0.1591, allocations: 7.062 kB / 0.6423 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1591, allocations: 0 / 0.6423 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1592, allocations: 0 / 0.6423 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1592, allocations: 0 / 0.6423 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.207e-05/0.1592, allocations: 145.7 kB / 0.6425 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1593, allocations: 0 / 0.6425 GB, free: 4.125 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.1593, allocations: 12 kB / 0.6425 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1593, allocations: 0 / 0.6425 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.1593, allocations: 3.938 kB / 0.6425 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1593, allocations: 0 / 0.6425 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1593, allocations: 0 / 0.6425 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.1596, allocations: 0.6084 MB / 0.6431 GB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.1596, allocations: 77.11 kB / 0.6432 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.1596, allocations: 0 / 0.6432 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.1597, allocations: 3.984 kB / 0.6432 GB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.1597, allocations: 0 / 0.6432 GB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.1597, allocations: 0 / 0.6432 GB, free: 3.344 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.657e-05/0.1597, allocations: 75.28 kB / 0.6432 GB, free: 3.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1597, allocations: 4 kB / 0.6432 GB, free: 3.266 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.16, allocations: 0 / 0.6432 GB, free: 3.266 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.19e-05/0.1601, allocations: 95.53 kB / 0.6433 GB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.375e-05/0.1602, allocations: 7.938 kB / 0.6433 GB, free: 3.156 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1602, allocations: 0 / 0.6433 GB, free: 3.156 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.1602, allocations: 7.938 kB / 0.6433 GB, free: 3.148 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.1603, allocations: 11.88 kB / 0.6434 GB, free: 3.137 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.1606, allocations: 185.6 kB / 0.6435 GB, free: 2.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.1609, allocations: 0.6731 MB / 0.6442 GB, free: 2.215 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.489e-05/0.1609, allocations: 4.125 kB / 0.6442 GB, free: 2.211 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/0.1609, allocations: 7.438 kB / 0.6442 GB, free: 2.207 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1609, allocations: 0 / 0.6442 GB, free: 2.207 MB / 442.7 MB Notification: Performance of Templates: time 0.001752/0.1627, allocations: 157.1 kB / 0.6444 GB, free: 2.055 MB / 442.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)