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.001256/0.001256, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00123/0.00123, allocations: 190.5 kB / 16.25 MB, free: 6.625 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.521/1.521, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4083/0.4083, allocations: 54.92 MB / 324.4 MB, free: 88 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.001413/0.001414, allocations: 64.42 kB / 394.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1616, allocations: 59.59 MB / 454.5 MB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegStep): time 0.2949/0.4566, allocations: 0.61 MB / 455.1 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003014/0.457, allocations: 49.53 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.457, allocations: 0 / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.4571, allocations: 0 / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/0.4571, allocations: 0 / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.4574, allocations: 12.66 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.942e-05/0.4574, allocations: 3.25 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.4575, allocations: 4.094 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.648e-05/0.4575, allocations: 0.625 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.755e-05/0.4575, allocations: 5.422 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.4576, allocations: 0.5469 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.4577, allocations: 25.34 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.4577, allocations: 1.797 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.4578, allocations: 0.5 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.4579, allocations: 15.91 kB / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4579, allocations: 0 / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4579, allocations: 0 / 455.2 MB, free: 39.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.4579, allocations: 0 / 455.2 MB, free: 39.23 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.0002823/0.4582, allocations: 315.2 kB / 455.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.4582, allocations: 10.12 kB / 455.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.4585, allocations: 25.17 kB / 455.6 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.4586, allocations: 162.5 kB / 455.7 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4586, allocations: 1.469 kB / 455.7 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.4586, allocations: 384 / 455.7 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.4588, allocations: 43.19 kB / 455.8 MB, free: 38.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4588, allocations: 0 / 455.8 MB, free: 38.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.4588, allocations: 1.281 kB / 455.8 MB, free: 38.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4588, allocations: 0 / 455.8 MB, free: 38.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.041e-05/0.4589, allocations: 11.78 kB / 455.8 MB, free: 38.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.459, allocations: 147.8 kB / 455.9 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.17e-05/0.4591, allocations: 28.58 kB / 456 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.4592, allocations: 15.86 kB / 456 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.4592, allocations: 3.344 kB / 456 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.4592, allocations: 37.27 kB / 456 MB, free: 38.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.4592, allocations: 0.7812 kB / 456 MB, free: 38.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002202/0.4594, allocations: 49.02 kB / 456.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.4595, allocations: 52.34 kB / 456.1 MB, free: 38.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.323e-05/0.4595, allocations: 91.33 kB / 456.2 MB, free: 38.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.4595, allocations: 25.7 kB / 456.2 MB, free: 38.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.379e-05/0.4595, allocations: 80.14 kB / 456.3 MB, free: 38.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.4596, allocations: 3.25 kB / 456.3 MB, free: 38.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.4596, allocations: 16.75 kB / 456.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.4597, allocations: 315.3 kB / 456.6 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.4597, allocations: 3.781 kB / 456.6 MB, free: 37.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.4598, allocations: 7.547 kB / 456.6 MB, free: 37.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.4599, allocations: 17.55 kB / 456.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4599, allocations: 4.938 kB / 456.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.836e-05/0.46, allocations: 41.22 kB / 456.7 MB, free: 37.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.46, allocations: 11.67 kB / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.46, allocations: 0 / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.46, allocations: 0 / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.4601, allocations: 4.656 kB / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4601, allocations: 5.062 kB / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.4601, allocations: 1.969 kB / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.4602, allocations: 3.422 kB / 456.7 MB, free: 37.71 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 5.422e-05/0.4602, allocations: 109.7 kB / 456.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.4602, allocations: 5.938 kB / 456.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.4603, allocations: 5.094 kB / 456.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/0.4603, allocations: 0 / 456.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4603, allocations: 2.688 kB / 456.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4603, allocations: 0 / 456.9 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.617e-05/0.4604, allocations: 145.8 kB / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4604, allocations: 0 / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.4604, allocations: 4.781 kB / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4604, allocations: 3.938 kB / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.4604, allocations: 7.562 kB / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4604, allocations: 0 / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4604, allocations: 0 / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.4606, allocations: 66.98 kB / 457.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.4606, allocations: 87.41 kB / 457.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.4606, allocations: 0.5625 kB / 457.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.917e-05/0.4606, allocations: 0.8125 kB / 457.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.4607, allocations: 6.031 kB / 457.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4607, allocations: 0 / 457.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.535e-05/0.4607, allocations: 79.11 kB / 457.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4607, allocations: 0.8125 kB / 457.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001841/0.4609, allocations: 3.906 kB / 457.3 MB, free: 37.17 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 0.0001157/0.461, allocations: 99.11 kB / 457.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.4612, allocations: 17.61 kB / 457.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.4612, allocations: 0 / 457.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.4612, allocations: 7.281 kB / 457.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.4614, allocations: 5.062 kB / 457.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.4616, allocations: 90.64 kB / 457.5 MB, free: 37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.4617, allocations: 0.6702 MB / 458.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.718e-05/0.4618, allocations: 6.438 kB / 458.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.4618, allocations: 10.31 kB / 458.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.4618, allocations: 0 / 458.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of Templates: time 0.002595/0.4644, allocations: 226.2 kB / 458.4 MB, free: 36.29 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)