Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006207/0.006207, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001093/0.001093, allocations: 189.2 kB / 16.67 MB, free: 5.422 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8092/0.8092, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 57.41 kB / 0.5856 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1592, allocations: 80.92 MB / 0.6646 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001719/0.161, allocations: 0.5858 MB / 0.6652 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 3.605e-05/0.161, allocations: 3.984 kB / 0.6652 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.553e-05/0.1611, allocations: 0 / 0.6652 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.005e-05/0.1611, allocations: 0 / 0.6652 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.1611, allocations: 0 / 0.6652 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.755e-05/0.1611, allocations: 0 / 0.6652 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.761e-05/0.1612, allocations: 8 kB / 0.6652 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.1612, allocations: 3.984 kB / 0.6652 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.1613, allocations: 3.984 kB / 0.6652 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.672e-05/0.1613, allocations: 4 kB / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1613, allocations: 3.938 kB / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-06/0.1613, allocations: 3.938 kB / 0.6652 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.1613, allocations: 4 kB / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.1614, allocations: 0 / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.875e-05/0.1614, allocations: 0 / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1614, allocations: 0 / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1614, allocations: 0 / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.1614, allocations: 0 / 0.6652 GB, free: 5.238 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002515/0.1617, allocations: 315.5 kB / 0.6655 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1617, allocations: 13.11 kB / 0.6655 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.1618, allocations: 0.9375 kB / 0.6655 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.522e-05/0.1619, allocations: 164.4 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1619, allocations: 384 / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1619, allocations: 4.375 kB / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.329e-05/0.162, allocations: 26.27 kB / 0.6657 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.162, allocations: 192 / 0.6657 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.162, allocations: 3.938 kB / 0.6657 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.162, allocations: 0 / 0.6657 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.162, allocations: 7.938 kB / 0.6657 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.1622, allocations: 149.7 kB / 0.6659 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.1622, allocations: 18.56 kB / 0.6659 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.1622, allocations: 8.953 kB / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.1622, allocations: 0 / 0.6659 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1623, allocations: 30.56 kB / 0.6659 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1623, allocations: 0 / 0.6659 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.1624, allocations: 49.58 kB / 0.666 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.1624, allocations: 51.41 kB / 0.666 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.04e-05/0.1625, allocations: 97.73 kB / 0.6661 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1625, allocations: 25.7 kB / 0.6661 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.1626, allocations: 80.14 kB / 0.6662 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.1626, allocations: 0 / 0.6662 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1626, allocations: 17.7 kB / 0.6662 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1628, allocations: 315.3 kB / 0.6665 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.1628, allocations: 0 / 0.6665 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.1628, allocations: 0 / 0.6665 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.1628, allocations: 16.86 kB / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1628, allocations: 0 / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.796e-05/0.1629, allocations: 33.64 kB / 0.6666 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1629, allocations: 8 kB / 0.6666 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1629, allocations: 0 / 0.6666 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1629, allocations: 3.938 kB / 0.6666 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.799e-05/0.163, allocations: 4.094 kB / 0.6666 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.163, allocations: 3.984 kB / 0.6666 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-06/0.163, allocations: 0 / 0.6666 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.163, allocations: 4 kB / 0.6666 GB, free: 3.59 MB / 0.4981 GB 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.055e-05/0.1631, allocations: 105.8 kB / 0.6667 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-06/0.1631, allocations: 0 / 0.6667 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.1631, allocations: 11.06 kB / 0.6667 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1631, allocations: 0 / 0.6667 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1631, allocations: 0 / 0.6667 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1631, allocations: 4 kB / 0.6667 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.472e-05/0.1632, allocations: 157.6 kB / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1632, allocations: 0 / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.1632, allocations: 0 / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1633, allocations: 0 / 0.6669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1633, allocations: 3.938 kB / 0.6669 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1633, allocations: 4 kB / 0.6669 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1633, allocations: 0 / 0.6669 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.016e-05/0.1633, allocations: 61.08 kB / 0.6669 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.1634, allocations: 81.09 kB / 0.667 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.1634, allocations: 3.938 kB / 0.667 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-06/0.1634, allocations: 4 kB / 0.667 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/0.1634, allocations: 0 / 0.667 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.1634, allocations: 3.938 kB / 0.667 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.431e-05/0.1635, allocations: 75.28 kB / 0.6671 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1635, allocations: 0 / 0.6671 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001881/0.1637, allocations: 0 / 0.6671 GB, free: 2.984 MB / 0.4981 GB 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 8.3e-05/0.1638, allocations: 104.6 kB / 0.6672 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.156e-05/0.1638, allocations: 0 / 0.6672 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.1638, allocations: 7.938 kB / 0.6672 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-06/0.1639, allocations: 3.938 kB / 0.6672 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.164, allocations: 4 kB / 0.6672 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001747/0.1642, allocations: 88.83 kB / 0.6673 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.1644, allocations: 0.669 MB / 0.6679 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.011e-05/0.1644, allocations: 4.125 kB / 0.6679 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.1644, allocations: 11.44 kB / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1644, allocations: 0 / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of Templates: time 0.001698/0.1661, allocations: 165.3 kB / 0.6681 GB, free: 1.871 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1)