Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001253/0.001253, allocations: 191.7 kB / 16.25 MB, free: 6.637 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9195/0.9195, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 68.23 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.156, allocations: 81.01 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001894/0.1579, allocations: 0.6456 MB / 0.5851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002279/0.1582, allocations: 51.8 kB / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.1582, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.1582, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.1582, allocations: 0 / 0.5852 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.1585, allocations: 15.98 kB / 0.5852 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.045e-05/0.1585, allocations: 0 / 0.5852 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.1585, allocations: 4 kB / 0.5852 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.079e-05/0.1586, allocations: 0 / 0.5852 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.647e-05/0.1586, allocations: 0 / 0.5852 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.263e-06/0.1586, allocations: 0 / 0.5852 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.1587, allocations: 23.97 kB / 0.5852 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1587, allocations: 0 / 0.5852 GB, free: 3.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.1587, allocations: 7.922 kB / 0.5852 GB, free: 3.555 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.032e-05/0.1588, allocations: 15.98 kB / 0.5852 GB, free: 3.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1588, allocations: 4 kB / 0.5852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1588, allocations: 0 / 0.5852 GB, free: 3.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1588, allocations: 0 / 0.5852 GB, free: 3.535 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.00031/0.1591, allocations: 315.6 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1592, allocations: 8.031 kB / 0.5856 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.1594, allocations: 20.91 kB / 0.5856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1595, allocations: 164.3 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1596, allocations: 8.375 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.1596, allocations: 384 / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1597, allocations: 34.25 kB / 0.5858 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1597, allocations: 4.125 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1597, allocations: 3.938 kB / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.1597, allocations: 0 / 0.5858 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.1598, allocations: 7.984 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.16, allocations: 149.7 kB / 0.5859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.072e-05/0.1601, allocations: 30.55 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.026e-05/0.1601, allocations: 8.906 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1602, allocations: 4 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1602, allocations: 30.56 kB / 0.586 GB, free: 2.598 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1602, allocations: 0 / 0.586 GB, free: 2.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000218/0.1604, allocations: 53.61 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1605, allocations: 51.41 kB / 0.5861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.1605, allocations: 89.86 kB / 0.5862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1605, allocations: 29.7 kB / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.1606, allocations: 84.08 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.1606, allocations: 7.844 kB / 0.5863 GB, free: 2.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.1606, allocations: 17.72 kB / 0.5863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1608, allocations: 315 kB / 0.5866 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.1608, allocations: 7.984 kB / 0.5866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.307e-05/0.1609, allocations: 0 / 0.5866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.161, allocations: 16.84 kB / 0.5866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.161, allocations: 0 / 0.5866 GB, free: 1.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001188/0.1611, allocations: 49.67 kB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1611, allocations: 10.12 kB / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1611, allocations: 0 / 0.5867 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1611, allocations: 3.938 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.1612, allocations: 7.938 kB / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.1612, allocations: 0 / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.987e-05/0.1613, allocations: 0 / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1613, allocations: 3.984 kB / 0.5867 GB, free: 1.805 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 7.315e-05/0.1613, allocations: 109.8 kB / 0.5868 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.1614, allocations: 0 / 0.5868 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.1614, allocations: 11.06 kB / 0.5868 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.1614, allocations: 0 / 0.5868 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1614, allocations: 0 / 0.5868 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.1614, allocations: 0 / 0.5868 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.1615, allocations: 153.7 kB / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1615, allocations: 0 / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.1616, allocations: 0 / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1616, allocations: 4 kB / 0.587 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1616, allocations: 3.938 kB / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1616, allocations: 4 kB / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1616, allocations: 7.938 kB / 0.587 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.1617, allocations: 61.11 kB / 0.5871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.1618, allocations: 89.03 kB / 0.5871 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1618, allocations: 3.938 kB / 0.5871 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.1619, allocations: 4 kB / 0.5872 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-06/0.1619, allocations: 4.031 kB / 0.5872 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1619, allocations: 4 kB / 0.5872 GB, free: 1.258 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4e-05/0.1619, allocations: 80.97 kB / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.1619, allocations: 0 / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000164/0.1621, allocations: 3.938 kB / 0.5872 GB, free: 1.176 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 0.0001099/0.1622, allocations: 95.25 kB / 0.5873 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.1623, allocations: 11.98 kB / 0.5873 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1624, allocations: 4.062 kB / 0.5873 GB, free: 1.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.1624, allocations: 4 kB / 0.5873 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.1625, allocations: 10.8 kB / 0.5874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.1627, allocations: 92.84 kB / 0.5874 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.163, allocations: 0.669 MB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.588e-05/0.1631, allocations: 4.062 kB / 0.5881 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.1631, allocations: 11.44 kB / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1631, allocations: 0 / 0.5881 GB, free: 220 kB / 494.1 MB Notification: Performance of Templates: time 0.001955/0.1651, allocations: 213 kB / 0.5883 GB, free: 8 kB / 494.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)