Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008997/0.008997, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001432/0.001432, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8339/0.8339, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1742, allocations: 80.19 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.00177/0.176, allocations: 0.5758 MB / 0.6603 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002875/0.1763, allocations: 47.84 kB / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.1763, allocations: 0 / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.1764, allocations: 0 / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-06/0.1764, allocations: 0 / 0.6603 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1767, allocations: 27.92 kB / 0.6603 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.074e-05/0.1767, allocations: 3.984 kB / 0.6604 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1768, allocations: 7.875 kB / 0.6604 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.441e-05/0.1768, allocations: 0 / 0.6604 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.279e-05/0.1768, allocations: 4 kB / 0.6604 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1768, allocations: 0 / 0.6604 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.177, allocations: 19.97 kB / 0.6604 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.177, allocations: 0 / 0.6604 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.177, allocations: 4 kB / 0.6604 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.833e-05/0.1771, allocations: 15.97 kB / 0.6604 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1771, allocations: 4 kB / 0.6604 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1771, allocations: 0 / 0.6604 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1771, allocations: 0 / 0.6604 GB, free: 12.78 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.000312/0.1774, allocations: 315.6 kB / 0.6607 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1775, allocations: 12.03 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.1778, allocations: 16.91 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1779, allocations: 168.3 kB / 0.6609 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1779, allocations: 8.359 kB / 0.6609 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.1779, allocations: 384 / 0.6609 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1781, allocations: 34.25 kB / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1781, allocations: 192 / 0.6609 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1781, allocations: 7.922 kB / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1781, allocations: 4 kB / 0.6609 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.724e-05/0.1782, allocations: 7.938 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.1784, allocations: 145.7 kB / 0.6611 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.1785, allocations: 30.89 kB / 0.6611 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.37e-05/0.1785, allocations: 12.91 kB / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1785, allocations: 0 / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1786, allocations: 30.56 kB / 0.6612 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.1786, allocations: 0 / 0.6612 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002516/0.1788, allocations: 53.61 kB / 0.6612 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1789, allocations: 51.41 kB / 0.6613 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.783e-05/0.1789, allocations: 89.86 kB / 0.6613 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1789, allocations: 29.7 kB / 0.6614 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.534e-05/0.179, allocations: 80.14 kB / 0.6615 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.179, allocations: 7.938 kB / 0.6615 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1791, allocations: 9.719 kB / 0.6615 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1792, allocations: 323 kB / 0.6618 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.555e-05/0.1792, allocations: 4 kB / 0.6618 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.1793, allocations: 7.984 kB / 0.6618 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.262e-05/0.1794, allocations: 12.86 kB / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1794, allocations: 0 / 0.6618 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001402/0.1795, allocations: 45.67 kB / 0.6618 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1796, allocations: 9.969 kB / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1796, allocations: 7.938 kB / 0.6619 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1796, allocations: 3.938 kB / 0.6619 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.1797, allocations: 0 / 0.6619 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1797, allocations: 3.938 kB / 0.6619 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.1797, allocations: 7.984 kB / 0.6619 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1797, allocations: 0 / 0.6619 GB, free: 11.04 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.228e-05/0.1798, allocations: 105.8 kB / 0.662 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.1798, allocations: 8 kB / 0.662 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.1799, allocations: 7.062 kB / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1799, allocations: 0 / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1799, allocations: 0 / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1799, allocations: 0 / 0.662 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.462e-05/0.18, allocations: 145.7 kB / 0.6621 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.18, allocations: 0 / 0.6621 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.1801, allocations: 4 kB / 0.6621 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1801, allocations: 3.938 kB / 0.6621 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1801, allocations: 7.938 kB / 0.6621 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1801, allocations: 4 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1801, allocations: 4 kB / 0.6622 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.1802, allocations: 67.39 kB / 0.6622 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.1803, allocations: 81.05 kB / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1803, allocations: 7.875 kB / 0.6623 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.1803, allocations: 4 kB / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.1804, allocations: 8.016 kB / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.1804, allocations: 0 / 0.6623 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.1804, allocations: 75.28 kB / 0.6624 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1804, allocations: 0 / 0.6624 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001827/0.1806, allocations: 8 kB / 0.6624 GB, free: 10.41 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.0001353/0.1807, allocations: 95.25 kB / 0.6625 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1809, allocations: 11.98 kB / 0.6625 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1809, allocations: 4.062 kB / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.1809, allocations: 7.984 kB / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.1811, allocations: 0 / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.1814, allocations: 96.77 kB / 0.6626 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1816, allocations: 0.669 MB / 0.6633 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.1816, allocations: 12.05 kB / 0.6633 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.1817, allocations: 7.438 kB / 0.6633 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1817, allocations: 0 / 0.6633 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of Templates: time 0.001973/0.1836, allocations: 225.9 kB / 0.6635 GB, free: 9.23 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)