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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001157/0.001157, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7368/0.7368, allocations: 132.2 MB / 422.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.62 kB / 0.5011 GB, free: 9.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1788, allocations: 80.2 MB / 0.5794 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.002138/0.1809, allocations: 0.6353 MB / 0.58 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 4.211e-05/0.181, allocations: 7.938 kB / 0.5801 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.181, allocations: 0 / 0.5801 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1811, allocations: 4 kB / 0.5801 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.1811, allocations: 0 / 0.5801 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.561e-05/0.1811, allocations: 4 kB / 0.5801 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.163e-05/0.1812, allocations: 0 / 0.5801 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.1812, allocations: 0 / 0.5801 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.1813, allocations: 0 / 0.5801 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.1813, allocations: 0 / 0.5801 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1813, allocations: 3.938 kB / 0.5801 GB, free: 8.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-06/0.1813, allocations: 4 kB / 0.5801 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.1813, allocations: 0 / 0.5801 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.1814, allocations: 0 / 0.5801 GB, free: 8.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.5e-05/0.1814, allocations: 8 kB / 0.5801 GB, free: 8.516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1814, allocations: 0 / 0.5801 GB, free: 8.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1814, allocations: 0 / 0.5801 GB, free: 8.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1814, allocations: 0 / 0.5801 GB, free: 8.516 MB / 494.1 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.0003181/0.1818, allocations: 315.6 kB / 0.5804 GB, free: 8.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1818, allocations: 8.031 kB / 0.5804 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.1818, allocations: 0.9375 kB / 0.5804 GB, free: 8.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.406e-05/0.1819, allocations: 164.4 kB / 0.5805 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.182, allocations: 384 / 0.5805 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.182, allocations: 4.375 kB / 0.5805 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.402e-05/0.1821, allocations: 38.19 kB / 0.5806 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1821, allocations: 192 / 0.5806 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1821, allocations: 3.938 kB / 0.5806 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1821, allocations: 3.984 kB / 0.5806 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.1821, allocations: 4 kB / 0.5806 GB, free: 7.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.1823, allocations: 149.7 kB / 0.5807 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.1823, allocations: 14.58 kB / 0.5808 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.26e-05/0.1823, allocations: 12.95 kB / 0.5808 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.1823, allocations: 0 / 0.5808 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1824, allocations: 38.48 kB / 0.5808 GB, free: 7.609 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1824, allocations: 0 / 0.5808 GB, free: 7.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001204/0.1825, allocations: 41.64 kB / 0.5808 GB, free: 7.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.1825, allocations: 51.41 kB / 0.5809 GB, free: 7.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.809e-05/0.1826, allocations: 89.86 kB / 0.581 GB, free: 7.402 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.1826, allocations: 33.77 kB / 0.581 GB, free: 7.363 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.1826, allocations: 80.14 kB / 0.5811 GB, free: 7.281 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.1827, allocations: 3.906 kB / 0.5811 GB, free: 7.277 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.1827, allocations: 21.66 kB / 0.5811 GB, free: 7.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1828, allocations: 310.8 kB / 0.5814 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.1828, allocations: 4 kB / 0.5814 GB, free: 6.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.1828, allocations: 0 / 0.5814 GB, free: 6.934 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.1829, allocations: 20.84 kB / 0.5814 GB, free: 6.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1829, allocations: 0 / 0.5814 GB, free: 6.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.669e-05/0.1829, allocations: 29.7 kB / 0.5815 GB, free: 6.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1829, allocations: 8 kB / 0.5815 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1829, allocations: 0 / 0.5815 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.183, allocations: 3.938 kB / 0.5815 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.183, allocations: 0 / 0.5815 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.183, allocations: 0 / 0.5815 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.908e-06/0.183, allocations: 0 / 0.5815 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.1831, allocations: 4 kB / 0.5815 GB, free: 6.859 MB / 494.1 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 0.0001582/0.1832, allocations: 113.9 kB / 0.5816 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-06/0.1832, allocations: 3.984 kB / 0.5816 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.1833, allocations: 7.062 kB / 0.5816 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1833, allocations: 0 / 0.5816 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1833, allocations: 0 / 0.5816 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1833, allocations: 0 / 0.5816 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.1834, allocations: 145.7 kB / 0.5817 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1834, allocations: 3.938 kB / 0.5817 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.787e-06/0.1834, allocations: 0 / 0.5817 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.1834, allocations: 0 / 0.5817 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1834, allocations: 11.92 kB / 0.5817 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1835, allocations: 4 kB / 0.5817 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1835, allocations: 3.984 kB / 0.5818 GB, free: 6.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.808e-05/0.1836, allocations: 53.14 kB / 0.5818 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.1836, allocations: 77.11 kB / 0.5819 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1836, allocations: 3.938 kB / 0.5819 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.1836, allocations: 4 kB / 0.5819 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.1836, allocations: 8.016 kB / 0.5819 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.1837, allocations: 4 kB / 0.5819 GB, free: 6.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1838, allocations: 79.22 kB / 0.582 GB, free: 6.246 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1838, allocations: 0 / 0.582 GB, free: 6.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001967/0.184, allocations: 0 / 0.582 GB, free: 6.246 MB / 494.1 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.07e-05/0.1841, allocations: 91.53 kB / 0.5821 GB, free: 6.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.409e-05/0.1842, allocations: 7.938 kB / 0.5821 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1842, allocations: 64 / 0.5821 GB, free: 6.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.838e-06/0.1842, allocations: 12 kB / 0.5821 GB, free: 6.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1843, allocations: 2.531 kB / 0.5821 GB, free: 6.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.1847, allocations: 82.64 kB / 0.5822 GB, free: 6.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.185, allocations: 0.6731 MB / 0.5828 GB, free: 5.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.185, allocations: 0 / 0.5828 GB, free: 5.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.185, allocations: 7.438 kB / 0.5828 GB, free: 5.312 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1851, allocations: 0 / 0.5828 GB, free: 5.312 MB / 494.1 MB Notification: Performance of Templates: time 0.001815/0.1869, allocations: 157.2 kB / 0.583 GB, free: 5.16 MB / 494.1 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)