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.00158/0.00158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002088/0.002088, allocations: 193 kB / 16.13 MB, free: 6.652 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.374/1.374, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.05/1.05, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.33 kB / 0.5047 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1625, allocations: 80.93 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001807/0.1643, allocations: 0.6296 MB / 0.5843 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.1646, allocations: 55.78 kB / 0.5844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-06/0.1646, allocations: 0 / 0.5844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.1647, allocations: 0 / 0.5844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.1647, allocations: 0 / 0.5844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.1649, allocations: 11.98 kB / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.597e-05/0.1649, allocations: 4 kB / 0.5844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.165, allocations: 3.984 kB / 0.5844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.165, allocations: 4 kB / 0.5844 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.165, allocations: 0 / 0.5844 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.165, allocations: 4 kB / 0.5844 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.1651, allocations: 15.98 kB / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.1652, allocations: 4 kB / 0.5844 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.1652, allocations: 3.938 kB / 0.5844 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.734e-05/0.1653, allocations: 19.95 kB / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1653, allocations: 0 / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1653, allocations: 0 / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1653, allocations: 0 / 0.5845 GB, free: 4.234 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.000291/0.1656, allocations: 319.6 kB / 0.5848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1656, allocations: 8.031 kB / 0.5848 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.1659, allocations: 24.84 kB / 0.5848 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.166, allocations: 168.3 kB / 0.585 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.166, allocations: 384 / 0.585 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.166, allocations: 384 / 0.585 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1661, allocations: 38.23 kB / 0.585 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1662, allocations: 4.188 kB / 0.585 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1662, allocations: 3.938 kB / 0.585 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1662, allocations: 0 / 0.585 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.1663, allocations: 11.98 kB / 0.585 GB, free: 3.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.1664, allocations: 145.7 kB / 0.5852 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.639e-05/0.1665, allocations: 26.53 kB / 0.5852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1666, allocations: 12.92 kB / 0.5852 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.1666, allocations: 0 / 0.5852 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.1666, allocations: 30.56 kB / 0.5852 GB, free: 3.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.1666, allocations: 0 / 0.5852 GB, free: 3.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002251/0.1668, allocations: 53.61 kB / 0.5853 GB, free: 3.234 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1669, allocations: 51.41 kB / 0.5853 GB, free: 3.172 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.75e-05/0.1669, allocations: 89.86 kB / 0.5854 GB, free: 3.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.167, allocations: 29.83 kB / 0.5854 GB, free: 3.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.167, allocations: 80.14 kB / 0.5855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1671, allocations: 15.78 kB / 0.5855 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.1671, allocations: 17.7 kB / 0.5855 GB, free: 2.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1672, allocations: 310.8 kB / 0.5858 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.1673, allocations: 4 kB / 0.5858 GB, free: 2.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.816e-05/0.1673, allocations: 7.984 kB / 0.5858 GB, free: 2.594 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.393e-05/0.1674, allocations: 20.91 kB / 0.5859 GB, free: 2.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1674, allocations: 4 kB / 0.5859 GB, free: 2.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001143/0.1676, allocations: 37.69 kB / 0.5859 GB, free: 2.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1676, allocations: 4 kB / 0.5859 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1676, allocations: 0 / 0.5859 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1676, allocations: 3.938 kB / 0.5859 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.1677, allocations: 7.984 kB / 0.5859 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1677, allocations: 7.969 kB / 0.5859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.1677, allocations: 4 kB / 0.5859 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1678, allocations: 0 / 0.5859 GB, free: 2.496 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 6.785e-05/0.1678, allocations: 105.8 kB / 0.586 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.1678, allocations: 0 / 0.586 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.1679, allocations: 11.06 kB / 0.586 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1679, allocations: 0 / 0.586 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1679, allocations: 4 kB / 0.5861 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1679, allocations: 7.984 kB / 0.5861 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.971e-05/0.168, allocations: 141.7 kB / 0.5862 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.168, allocations: 3.938 kB / 0.5862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1681, allocations: 11.98 kB / 0.5862 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1681, allocations: 0 / 0.5862 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1681, allocations: 3.938 kB / 0.5862 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1681, allocations: 0 / 0.5862 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1681, allocations: 0 / 0.5862 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1682, allocations: 69.12 kB / 0.5863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.1683, allocations: 77.11 kB / 0.5864 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1683, allocations: 11.86 kB / 0.5864 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.412e-05/0.1684, allocations: 4 kB / 0.5864 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.1684, allocations: 0 / 0.5864 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1684, allocations: 0 / 0.5864 GB, free: 1.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.59e-05/0.1684, allocations: 75.28 kB / 0.5864 GB, free: 1.883 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.1684, allocations: 0 / 0.5864 GB, free: 1.883 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001702/0.1686, allocations: 7.969 kB / 0.5864 GB, free: 1.875 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.0001159/0.1687, allocations: 95.25 kB / 0.5865 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.1689, allocations: 11.98 kB / 0.5865 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1689, allocations: 0 / 0.5865 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.1689, allocations: 11.98 kB / 0.5866 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.1691, allocations: 0.9844 kB / 0.5866 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.1693, allocations: 88.53 kB / 0.5866 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1695, allocations: 0.6731 MB / 0.5873 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.794e-05/0.1696, allocations: 7.984 kB / 0.5873 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.1696, allocations: 7.438 kB / 0.5873 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1696, allocations: 0 / 0.5873 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of Templates: time 0.001909/0.1715, allocations: 225 kB / 0.5875 GB, free: 0.7031 MB / 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)