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.000968/0.000968, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001067/0.001067, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4417/0.4417, allocations: 54.97 MB / 325.3 MB, free: 0.6953 MB / 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.0008618/0.0008619, allocations: 16 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3582, allocations: 60.72 MB / 457.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegStep): time 0.0005873/0.3589, allocations: 270.6 kB / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.3591, allocations: 51.86 kB / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.448e-05/0.3591, allocations: 0.8438 kB / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.007e-05/0.3591, allocations: 0 / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-06/0.3591, allocations: 1.812 kB / 457.6 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.3593, allocations: 12.5 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.141e-05/0.3594, allocations: 2.297 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.3594, allocations: 0 / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.382e-05/0.3594, allocations: 3.469 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.3595, allocations: 4.609 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.3595, allocations: 0 / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.612e-05/0.3596, allocations: 17.02 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-06/0.3596, allocations: 3.938 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.3596, allocations: 34.19 kB / 457.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.3e-05/0.3597, allocations: 3.156 kB / 457.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.3597, allocations: 0 / 457.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3597, allocations: 0.75 kB / 457.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.3597, allocations: 0 / 457.7 MB, free: 38.12 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.000185/0.3599, allocations: 318.3 kB / 458 MB, free: 37.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3599, allocations: 9.375 kB / 458 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.3602, allocations: 19.03 kB / 458.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.316e-05/0.3602, allocations: 165.5 kB / 458.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3602, allocations: 0 / 458.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3603, allocations: 2.875 kB / 458.2 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3604, allocations: 32.12 kB / 458.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3604, allocations: 0 / 458.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.3604, allocations: 6.938 kB / 458.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3604, allocations: 1.875 kB / 458.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.3605, allocations: 15.83 kB / 458.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.317e-05/0.3606, allocations: 149 kB / 458.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.895e-05/0.3607, allocations: 22.88 kB / 458.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.3607, allocations: 0 / 458.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.3607, allocations: 36.91 kB / 458.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3607, allocations: 2.406 kB / 458.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002079/0.3609, allocations: 47.22 kB / 458.5 MB, free: 37.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.361, allocations: 59.19 kB / 458.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.494e-05/0.361, allocations: 90.77 kB / 458.7 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.361, allocations: 25.7 kB / 458.7 MB, free: 37.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.06e-05/0.361, allocations: 80.98 kB / 458.8 MB, free: 36.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3611, allocations: 1.969 kB / 458.8 MB, free: 36.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.3611, allocations: 0.7812 kB / 458.8 MB, free: 36.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.252e-05/0.3611, allocations: 319 kB / 459.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.3612, allocations: 3.703 kB / 459.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.3612, allocations: 4.688 kB / 459.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.3612, allocations: 6.922 kB / 459.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3613, allocations: 3.906 kB / 459.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001004/0.3614, allocations: 44.67 kB / 459.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3614, allocations: 7.062 kB / 459.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3614, allocations: 3.188 kB / 459.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3614, allocations: 3.938 kB / 459.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.3615, allocations: 3.5 kB / 459.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3615, allocations: 0 / 459.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.3615, allocations: 5.281 kB / 459.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3615, allocations: 3.328 kB / 459.2 MB, free: 36.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.3616, allocations: 110.5 kB / 459.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/0.3616, allocations: 5.297 kB / 459.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.3616, allocations: 6.359 kB / 459.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3616, allocations: 0.8125 kB / 459.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/0.3616, allocations: 0 / 459.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.3617, allocations: 1.781 kB / 459.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.648e-05/0.3617, allocations: 153.3 kB / 459.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3617, allocations: 0 / 459.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.873e-05/0.3618, allocations: 6.5 kB / 459.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3618, allocations: 0 / 459.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.3618, allocations: 2.75 kB / 459.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.3618, allocations: 0 / 459.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3618, allocations: 5.844 kB / 459.5 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.3619, allocations: 65.94 kB / 459.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.3619, allocations: 83.09 kB / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.362, allocations: 1.344 kB / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.928e-05/0.362, allocations: 0 / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.39e-05/0.362, allocations: 6.5 kB / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.362, allocations: 0 / 459.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.126e-05/0.362, allocations: 76.94 kB / 459.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.362, allocations: 0 / 459.7 MB, free: 36.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001704/0.3622, allocations: 2.688 kB / 459.7 MB, free: 36.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.349e-05/0.3623, allocations: 96.12 kB / 459.8 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.3624, allocations: 12.84 kB / 459.8 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3624, allocations: 4.641 kB / 459.8 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.971e-05/0.3625, allocations: 9.094 kB / 459.8 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.668e-05/0.3626, allocations: 5.266 kB / 459.8 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/0.3628, allocations: 91.12 kB / 459.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.252e-05/0.3628, allocations: 0.6745 MB / 460.6 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.523e-05/0.3629, allocations: 9.438 kB / 460.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3629, allocations: 7.438 kB / 460.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3629, allocations: 0 / 460.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of Templates: time 0.001786/0.3647, allocations: 213.4 kB / 460.8 MB, free: 35.19 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: