Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") translateModel(Annex60.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001067/0.001067, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001226/0.001226, allocations: 193.5 kB / 16.13 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.455/0.455, allocations: 54.93 MB / 324.3 MB, free: 152 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 67.91 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1836, allocations: 59.6 MB / 454.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegStep): time 0.3185/0.5022, allocations: 0.5956 MB / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002964/0.5025, allocations: 54.16 kB / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.5025, allocations: 0 / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.5026, allocations: 0 / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.5026, allocations: 1.281 kB / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.5028, allocations: 11.83 kB / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.884e-05/0.5029, allocations: 10.45 kB / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.5029, allocations: 1.375 kB / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.503, allocations: 6.594 kB / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.503, allocations: 3.578 kB / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.503, allocations: 0 / 454.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.5031, allocations: 20.55 kB / 455 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.5032, allocations: 1.406 kB / 455 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.5032, allocations: 2.516 kB / 455 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.5033, allocations: 16.7 kB / 455 MB, free: 39.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5033, allocations: 0 / 455 MB, free: 39.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5033, allocations: 0 / 455 MB, free: 39.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.5033, allocations: 1 kB / 455 MB, free: 39.16 MB / 382.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.0003231/0.5037, allocations: 314.4 kB / 455.3 MB, free: 38.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5037, allocations: 10.09 kB / 455.3 MB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/0.504, allocations: 18.73 kB / 455.3 MB, free: 38.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.925e-05/0.5041, allocations: 164.7 kB / 455.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.5041, allocations: 1.25 kB / 455.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.5041, allocations: 3.656 kB / 455.5 MB, free: 38.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.5043, allocations: 42.83 kB / 455.5 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5043, allocations: 0.7969 kB / 455.5 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.5043, allocations: 1.969 kB / 455.5 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.5044, allocations: 0.5312 kB / 455.5 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.5044, allocations: 11.48 kB / 455.5 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.5046, allocations: 144.3 kB / 455.7 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.89e-05/0.5046, allocations: 27.58 kB / 455.7 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.5047, allocations: 8.672 kB / 455.7 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.5047, allocations: 8.438 kB / 455.7 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.5047, allocations: 36.06 kB / 455.8 MB, free: 38.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5048, allocations: 0 / 455.8 MB, free: 38.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002203/0.505, allocations: 48.23 kB / 455.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.505, allocations: 54.94 kB / 455.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.974e-05/0.505, allocations: 89.86 kB / 455.9 MB, free: 38.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.505, allocations: 26.55 kB / 456 MB, free: 38.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.5051, allocations: 80.14 kB / 456.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.5051, allocations: 4.672 kB / 456.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.5051, allocations: 14.94 kB / 456.1 MB, free: 38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.5052, allocations: 318.7 kB / 456.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.5052, allocations: 5.531 kB / 456.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.5053, allocations: 7.297 kB / 456.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/0.5054, allocations: 19.62 kB / 456.4 MB, free: 37.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5054, allocations: 0 / 456.4 MB, free: 37.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001025/0.5055, allocations: 42.56 kB / 456.5 MB, free: 37.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5055, allocations: 11.66 kB / 456.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5055, allocations: 0.5625 kB / 456.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.5055, allocations: 0.6875 kB / 456.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.226e-05/0.5056, allocations: 9.312 kB / 456.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5056, allocations: 1.406 kB / 456.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.5057, allocations: 0 / 456.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.5057, allocations: 1.438 kB / 456.5 MB, free: 37.64 MB / 382.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 4.938e-05/0.5057, allocations: 110.8 kB / 456.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.5057, allocations: 7.766 kB / 456.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.5058, allocations: 7.188 kB / 456.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.5058, allocations: 2.156 kB / 456.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5058, allocations: 0 / 456.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5058, allocations: 3.188 kB / 456.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.622e-05/0.5059, allocations: 147.4 kB / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5059, allocations: 1.312 kB / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.5059, allocations: 7.25 kB / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5059, allocations: 4.844 kB / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.5059, allocations: 0 / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.506, allocations: 3.5 kB / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.506, allocations: 0 / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.5061, allocations: 70.05 kB / 456.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.5061, allocations: 79.86 kB / 456.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.5061, allocations: 3.938 kB / 456.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.83e-05/0.5062, allocations: 0 / 456.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.5062, allocations: 4.281 kB / 456.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.5062, allocations: 3.797 kB / 456.9 MB, free: 37.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.805e-05/0.5062, allocations: 78.62 kB / 457 MB, free: 37.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5062, allocations: 0 / 457 MB, free: 37.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001716/0.5064, allocations: 1.219 kB / 457 MB, free: 37.1 MB / 382.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.352e-05/0.5065, allocations: 95.94 kB / 457.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.5066, allocations: 13.28 kB / 457.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5066, allocations: 0.6875 kB / 457.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.5067, allocations: 9.625 kB / 457.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.5068, allocations: 3.344 kB / 457.1 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.5071, allocations: 92.14 kB / 457.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.5072, allocations: 0.6692 MB / 457.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.864e-05/0.5072, allocations: 3.734 kB / 457.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.5073, allocations: 7.438 kB / 457.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5073, allocations: 0.75 kB / 457.9 MB, free: 36.23 MB / 382.1 MB Notification: Performance of Templates: time 0.001821/0.5091, allocations: 224.4 kB / 458.1 MB, free: 36.22 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)