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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007696/0.007696, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001649/0.001649, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.782/0.782, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 62.12 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.17, allocations: 80.2 MB / 0.6596 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001707/0.1718, allocations: 0.5958 MB / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 4.603e-05/0.1719, allocations: 0 / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.1719, allocations: 0 / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.1719, allocations: 0 / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.1719, allocations: 0 / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.472e-05/0.172, allocations: 0 / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.238e-05/0.172, allocations: 0 / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.448e-05/0.1721, allocations: 11.98 kB / 0.6602 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.771e-05/0.1721, allocations: 3.938 kB / 0.6602 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.349e-05/0.1722, allocations: 4 kB / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1722, allocations: 0 / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-06/0.1722, allocations: 0 / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.1722, allocations: 0 / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1722, allocations: 3.938 kB / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.728e-05/0.1723, allocations: 0 / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1723, allocations: 4 kB / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1723, allocations: 0 / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1723, allocations: 0 / 0.6602 GB, free: 12.91 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.0003553/0.1727, allocations: 307.5 kB / 0.6605 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1727, allocations: 16.06 kB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.1728, allocations: 0.9375 kB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.1729, allocations: 168.3 kB / 0.6607 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.1729, allocations: 384 / 0.6607 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.1729, allocations: 384 / 0.6607 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/0.173, allocations: 30.27 kB / 0.6607 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.173, allocations: 192 / 0.6607 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.173, allocations: 3.938 kB / 0.6607 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.173, allocations: 3.984 kB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.1731, allocations: 0 / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.1732, allocations: 149.7 kB / 0.6609 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/0.1733, allocations: 22.52 kB / 0.6609 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.1733, allocations: 8.922 kB / 0.6609 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1733, allocations: 3.938 kB / 0.6609 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1733, allocations: 30.56 kB / 0.661 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1733, allocations: 0 / 0.661 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.1735, allocations: 41.62 kB / 0.661 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1735, allocations: 51.41 kB / 0.661 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.1735, allocations: 89.86 kB / 0.6611 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1736, allocations: 33.7 kB / 0.6612 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.1736, allocations: 80.14 kB / 0.6612 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1736, allocations: 11.83 kB / 0.6613 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.1737, allocations: 9.719 kB / 0.6613 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1738, allocations: 315.3 kB / 0.6616 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.1738, allocations: 4 kB / 0.6616 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-06/0.1738, allocations: 0 / 0.6616 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.437e-05/0.1738, allocations: 12.86 kB / 0.6616 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1738, allocations: 0 / 0.6616 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.371e-05/0.1739, allocations: 33.69 kB / 0.6616 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1739, allocations: 5.875 kB / 0.6616 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1739, allocations: 0 / 0.6616 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1739, allocations: 3.938 kB / 0.6616 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.174, allocations: 12.08 kB / 0.6616 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.174, allocations: 3.938 kB / 0.6616 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.031e-05/0.174, allocations: 0 / 0.6616 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.174, allocations: 0 / 0.6616 GB, free: 11.26 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 7.353e-05/0.1741, allocations: 113.8 kB / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-06/0.1741, allocations: 0 / 0.6617 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.1742, allocations: 7.062 kB / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1742, allocations: 3.984 kB / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1742, allocations: 0 / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1742, allocations: 4 kB / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1743, allocations: 145.7 kB / 0.6619 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1743, allocations: 0 / 0.6619 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.1743, allocations: 8 kB / 0.6619 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1743, allocations: 0 / 0.6619 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1743, allocations: 3.938 kB / 0.6619 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.1744, allocations: 0 / 0.6619 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1744, allocations: 0 / 0.6619 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.097e-05/0.1744, allocations: 65.06 kB / 0.662 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.1745, allocations: 81.11 kB / 0.662 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.1745, allocations: 7.875 kB / 0.6621 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-06/0.1745, allocations: 0 / 0.6621 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.1745, allocations: 0 / 0.6621 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1745, allocations: 4 kB / 0.6621 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.285e-05/0.1746, allocations: 77.56 kB / 0.6621 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1746, allocations: 0 / 0.6621 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001636/0.1747, allocations: 0 / 0.6621 GB, free: 10.65 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 0.0001018/0.1748, allocations: 103.3 kB / 0.6622 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.1749, allocations: 4 kB / 0.6622 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1749, allocations: 0 / 0.6622 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-06/0.1749, allocations: 0 / 0.6622 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.1751, allocations: 4 kB / 0.6622 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/0.1752, allocations: 80.86 kB / 0.6623 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.1755, allocations: 0.6768 MB / 0.663 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.05e-05/0.1755, allocations: 4.125 kB / 0.663 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.1755, allocations: 7.438 kB / 0.663 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1755, allocations: 0 / 0.663 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of Templates: time 0.001631/0.1772, allocations: 157.3 kB / 0.6631 GB, free: 9.555 MB / 0.4981 GB 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)