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.001185/0.001185, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.008681/0.008681, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8143/0.8143, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003884, allocations: 12.75 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4733, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.0007556/0.4741, allocations: 313.1 kB / 0.584 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.4744, allocations: 57.8 kB / 0.584 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.052e-05/0.4745, allocations: 0.6562 kB / 0.584 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.275e-05/0.4745, allocations: 0.7188 kB / 0.584 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.64e-06/0.4745, allocations: 1.75 kB / 0.584 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.4747, allocations: 10.45 kB / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.881e-05/0.4748, allocations: 2 kB / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.4748, allocations: 1.234 kB / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.4748, allocations: 3 kB / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.4749, allocations: 1.219 kB / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.4749, allocations: 0 / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.475, allocations: 21.53 kB / 0.5841 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.475, allocations: 3.984 kB / 0.5841 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.475, allocations: 31.73 kB / 0.5841 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.816e-05/0.4751, allocations: 15.39 kB / 0.5841 GB, free: 3.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4752, allocations: 1.156 kB / 0.5841 GB, free: 3.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4752, allocations: 0 / 0.5841 GB, free: 3.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.4752, allocations: 0 / 0.5841 GB, free: 3.762 MB / 430.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.0002312/0.4754, allocations: 316.2 kB / 0.5844 GB, free: 3.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4755, allocations: 9.281 kB / 0.5844 GB, free: 3.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/0.4757, allocations: 22.73 kB / 0.5845 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.972e-05/0.4758, allocations: 161.2 kB / 0.5846 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.4758, allocations: 1.531 kB / 0.5846 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.4758, allocations: 384 / 0.5846 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.476, allocations: 42.97 kB / 0.5847 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.476, allocations: 0.7188 kB / 0.5847 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.476, allocations: 3.938 kB / 0.5847 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.476, allocations: 1.031 kB / 0.5847 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.4761, allocations: 8.984 kB / 0.5847 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.4763, allocations: 144.8 kB / 0.5848 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.4764, allocations: 25.48 kB / 0.5848 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.4765, allocations: 13.34 kB / 0.5849 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.4765, allocations: 4.688 kB / 0.5849 GB, free: 2.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.4765, allocations: 32 kB / 0.5849 GB, free: 2.895 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4765, allocations: 1.094 kB / 0.5849 GB, free: 2.895 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002382/0.4768, allocations: 47.66 kB / 0.5849 GB, free: 2.859 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.4768, allocations: 55.47 kB / 0.585 GB, free: 2.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.311e-05/0.4768, allocations: 98.55 kB / 0.5851 GB, free: 2.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.4769, allocations: 25.7 kB / 0.5851 GB, free: 2.656 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.611e-05/0.4769, allocations: 81.48 kB / 0.5852 GB, free: 2.574 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.4769, allocations: 4.75 kB / 0.5852 GB, free: 2.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.477, allocations: 9.719 kB / 0.5852 GB, free: 2.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.477, allocations: 316.4 kB / 0.5855 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.4771, allocations: 4.906 kB / 0.5855 GB, free: 2.238 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.4772, allocations: 13.34 kB / 0.5855 GB, free: 2.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.4774, allocations: 14.92 kB / 0.5855 GB, free: 2.223 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4774, allocations: 0.9062 kB / 0.5855 GB, free: 2.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001865/0.4776, allocations: 39.81 kB / 0.5856 GB, free: 2.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4776, allocations: 4.938 kB / 0.5856 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4776, allocations: 0.8125 kB / 0.5856 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4776, allocations: 8.531 kB / 0.5856 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.4777, allocations: 8 kB / 0.5856 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4778, allocations: 1.422 kB / 0.5856 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.4778, allocations: 2.109 kB / 0.5856 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4778, allocations: 2.578 kB / 0.5856 GB, free: 2.18 MB / 430.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 5.75e-05/0.4779, allocations: 110.5 kB / 0.5857 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.4779, allocations: 1.75 kB / 0.5857 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.478, allocations: 7.672 kB / 0.5857 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.478, allocations: 0 / 0.5857 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.478, allocations: 4.625 kB / 0.5857 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.478, allocations: 5.953 kB / 0.5857 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.674e-05/0.4781, allocations: 144.3 kB / 0.5859 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4781, allocations: 0 / 0.5859 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.4781, allocations: 4.969 kB / 0.5859 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4781, allocations: 0.5625 kB / 0.5859 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4782, allocations: 6.109 kB / 0.5859 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4782, allocations: 0 / 0.5859 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4782, allocations: 0 / 0.5859 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.4784, allocations: 73.23 kB / 0.5859 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/0.4784, allocations: 78.83 kB / 0.586 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.4784, allocations: 3.938 kB / 0.586 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.4785, allocations: 2.766 kB / 0.586 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.4785, allocations: 4.953 kB / 0.586 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.4785, allocations: 1.875 kB / 0.586 GB, free: 1.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.457e-05/0.4785, allocations: 75.28 kB / 0.5861 GB, free: 1.605 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4785, allocations: 4.031 kB / 0.5861 GB, free: 1.602 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.4788, allocations: 1.188 kB / 0.5861 GB, free: 1.602 MB / 430.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.0001505/0.479, allocations: 96.27 kB / 0.5862 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.4792, allocations: 12.45 kB / 0.5862 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4792, allocations: 7.938 kB / 0.5862 GB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.589e-05/0.4793, allocations: 10.2 kB / 0.5862 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.4795, allocations: 10.33 kB / 0.5862 GB, free: 1.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.4798, allocations: 84.3 kB / 0.5863 GB, free: 1.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.48, allocations: 0.6723 MB / 0.587 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.4801, allocations: 1.703 kB / 0.587 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.4801, allocations: 12.91 kB / 0.587 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4801, allocations: 0 / 0.587 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of Templates: time 0.003158/0.4833, allocations: 208.1 kB / 0.5872 GB, free: 0.6523 MB / 430.1 MB 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)