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.001638/0.001638, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.002019/0.002019, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8055/0.8055, allocations: 132.2 MB / 423.2 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 63.91 kB / 0.5024 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3731, allocations: 80.19 MB / 0.5808 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001551/0.3747, allocations: 0.5704 MB / 0.5813 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002207/0.375, allocations: 49.83 kB / 0.5814 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.375, allocations: 0 / 0.5814 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.018e-05/0.375, allocations: 0 / 0.5814 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.375, allocations: 0 / 0.5814 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3752, allocations: 16.67 kB / 0.5814 GB, free: 26.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.771e-05/0.3753, allocations: 6.547 kB / 0.5814 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.3753, allocations: 6.422 kB / 0.5814 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.37e-05/0.3754, allocations: 1.094 kB / 0.5814 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.3754, allocations: 0 / 0.5814 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.3754, allocations: 1.062 kB / 0.5814 GB, free: 26.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.3755, allocations: 22.52 kB / 0.5814 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.3755, allocations: 5.781 kB / 0.5814 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.551e-05/0.3755, allocations: 5.312 kB / 0.5814 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.66e-05/0.3756, allocations: 13.72 kB / 0.5814 GB, free: 26.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3756, allocations: 5.016 kB / 0.5814 GB, free: 26.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3756, allocations: 0 / 0.5814 GB, free: 26.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3757, allocations: 0.5938 kB / 0.5814 GB, free: 26.78 MB / 446.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.0002077/0.3759, allocations: 316.3 kB / 0.5817 GB, free: 26.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3759, allocations: 9.719 kB / 0.5818 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.3762, allocations: 18.69 kB / 0.5818 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.105e-05/0.3762, allocations: 164.4 kB / 0.5819 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3762, allocations: 2.594 kB / 0.5819 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.3763, allocations: 1.438 kB / 0.5819 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3764, allocations: 35.06 kB / 0.582 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3764, allocations: 1.281 kB / 0.582 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3764, allocations: 7.922 kB / 0.582 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3764, allocations: 5.312 kB / 0.582 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.664e-05/0.3765, allocations: 11.86 kB / 0.582 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.025e-05/0.3766, allocations: 147 kB / 0.5821 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.776e-05/0.3767, allocations: 22.75 kB / 0.5821 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.3767, allocations: 8.172 kB / 0.5822 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3768, allocations: 0.9062 kB / 0.5822 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.3768, allocations: 32.44 kB / 0.5822 GB, free: 25.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3768, allocations: 0.7812 kB / 0.5822 GB, free: 25.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002248/0.377, allocations: 58.05 kB / 0.5822 GB, free: 25.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.3771, allocations: 52.53 kB / 0.5823 GB, free: 25.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.512e-05/0.3771, allocations: 89.86 kB / 0.5824 GB, free: 25.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.3771, allocations: 27.7 kB / 0.5824 GB, free: 25.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.637e-06/0.3771, allocations: 82.17 kB / 0.5825 GB, free: 25.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3771, allocations: 3.906 kB / 0.5825 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.3772, allocations: 16.45 kB / 0.5825 GB, free: 25.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.3772, allocations: 310.8 kB / 0.5828 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.3773, allocations: 7.594 kB / 0.5828 GB, free: 25.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.05e-05/0.3773, allocations: 13.36 kB / 0.5828 GB, free: 25.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.006e-05/0.3774, allocations: 19.56 kB / 0.5828 GB, free: 25.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3774, allocations: 1.312 kB / 0.5828 GB, free: 25.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001139/0.3775, allocations: 40.97 kB / 0.5829 GB, free: 25.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3776, allocations: 5.062 kB / 0.5829 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3776, allocations: 0 / 0.5829 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3776, allocations: 3.938 kB / 0.5829 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.3777, allocations: 9.203 kB / 0.5829 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3777, allocations: 0 / 0.5829 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.3777, allocations: 1.594 kB / 0.5829 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3777, allocations: 10.53 kB / 0.5829 GB, free: 25.16 MB / 446.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 3.962e-05/0.3778, allocations: 105.8 kB / 0.583 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.3778, allocations: 3.375 kB / 0.583 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.347e-05/0.3778, allocations: 11.06 kB / 0.583 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3778, allocations: 0 / 0.583 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3778, allocations: 1.719 kB / 0.583 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3778, allocations: 1.125 kB / 0.583 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.422e-05/0.3779, allocations: 147.1 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3779, allocations: 0 / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.3779, allocations: 3.75 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.378, allocations: 3.984 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.378, allocations: 6.844 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.378, allocations: 3.938 kB / 0.5832 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.378, allocations: 0 / 0.5832 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.3781, allocations: 66.16 kB / 0.5832 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.3781, allocations: 78.36 kB / 0.5833 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.3781, allocations: 5.031 kB / 0.5833 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.3782, allocations: 5.359 kB / 0.5833 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.075e-05/0.3782, allocations: 0 / 0.5833 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.3782, allocations: 2.125 kB / 0.5833 GB, free: 24.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.164e-05/0.3782, allocations: 75.88 kB / 0.5834 GB, free: 24.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3782, allocations: 0 / 0.5834 GB, free: 24.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.3784, allocations: 3.75 kB / 0.5834 GB, free: 24.59 MB / 446.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.777e-05/0.3785, allocations: 95.72 kB / 0.5835 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.3787, allocations: 15.67 kB / 0.5835 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3787, allocations: 5.031 kB / 0.5835 GB, free: 24.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.3787, allocations: 8.172 kB / 0.5835 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.3789, allocations: 4.031 kB / 0.5835 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.3791, allocations: 117.6 kB / 0.5836 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.429e-05/0.3792, allocations: 0.6701 MB / 0.5843 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.3792, allocations: 8.5 kB / 0.5843 GB, free: 23.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3792, allocations: 0 / 0.5843 GB, free: 23.65 MB / 446.1 MB Notification: Performance of Templates: time 0.001542/0.3808, allocations: 398.5 kB / 0.5847 GB, free: 23.46 MB / 446.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)