Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01127/0.01127, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.768/1.768, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.446/0.446, allocations: 55 MB / 325.7 MB, free: 0.5273 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.000679/0.0006791, allocations: 16.56 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4549, allocations: 60.72 MB / 458 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.001501/0.4565, allocations: 1.156 MB / 459.1 MB, free: 39.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009201/0.4574, allocations: 0.5793 MB / 459.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.4574, allocations: 2.516 kB / 459.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.4575, allocations: 4.781 kB / 459.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.4575, allocations: 3.938 kB / 459.7 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.4577, allocations: 38.94 kB / 459.8 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.662e-05/0.4578, allocations: 23.69 kB / 459.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.4579, allocations: 9 kB / 459.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.325e-05/0.458, allocations: 18.2 kB / 459.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.4581, allocations: 10.47 kB / 459.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.4581, allocations: 0 / 459.8 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.4582, allocations: 53.28 kB / 459.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.4582, allocations: 6.734 kB / 459.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.4583, allocations: 34.59 kB / 459.9 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.4584, allocations: 63.56 kB / 460 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4584, allocations: 0 / 460 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4584, allocations: 3.562 kB / 460 MB, free: 39.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.4584, allocations: 0 / 460 MB, free: 39.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003286/0.4588, allocations: 350.3 kB / 460.3 MB, free: 38.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4588, allocations: 9.906 kB / 460.3 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.4589, allocations: 7.328 kB / 460.3 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.024e-05/0.459, allocations: 172.6 kB / 460.5 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.459, allocations: 384 / 460.5 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.459, allocations: 11 kB / 460.5 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.4591, allocations: 45.84 kB / 460.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4591, allocations: 3 kB / 460.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4592, allocations: 0 / 460.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4592, allocations: 0 / 460.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.4593, allocations: 25.31 kB / 460.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.4595, allocations: 254.4 kB / 460.8 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.085e-05/0.4596, allocations: 38.69 kB / 460.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.4597, allocations: 18.53 kB / 460.9 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.4604, allocations: 0.4947 MB / 461.4 MB, free: 37.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.4604, allocations: 34.22 kB / 461.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.4604, allocations: 0 / 461.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000239/0.4607, allocations: 73.42 kB / 461.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.4607, allocations: 52.88 kB / 461.5 MB, free: 37.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/0.4608, allocations: 106.1 kB / 461.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.4608, allocations: 25.7 kB / 461.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/0.4608, allocations: 90.73 kB / 461.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.4609, allocations: 7.844 kB / 461.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.4609, allocations: 13.41 kB / 461.8 MB, free: 37.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.4609, allocations: 317.3 kB / 462.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.461, allocations: 17.08 kB / 462.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.461, allocations: 8.688 kB / 462.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.4611, allocations: 32.38 kB / 462.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4611, allocations: 0 / 462.1 MB, free: 37.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001076/0.4612, allocations: 64.98 kB / 462.2 MB, free: 37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4613, allocations: 6.188 kB / 462.2 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4613, allocations: 0.8438 kB / 462.2 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4613, allocations: 0.8125 kB / 462.2 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.4614, allocations: 10.05 kB / 462.2 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.4614, allocations: 4.703 kB / 462.2 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.4614, allocations: 1.312 kB / 462.2 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4614, allocations: 5.344 kB / 462.2 MB, free: 37 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 (2): * Single equations (assignments): 2 * 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.082e-05/0.4615, allocations: 113 kB / 462.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.4615, allocations: 2.906 kB / 462.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.4617, allocations: 68.77 kB / 462.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.4617, allocations: 0 / 462.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4617, allocations: 7.875 kB / 462.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4617, allocations: 0.8438 kB / 462.4 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.4618, allocations: 167.7 kB / 462.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4618, allocations: 0 / 462.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.4619, allocations: 9.125 kB / 462.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4619, allocations: 1.312 kB / 462.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.4619, allocations: 0 / 462.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4619, allocations: 3.438 kB / 462.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4619, allocations: 4.031 kB / 462.6 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.462, allocations: 156.7 kB / 462.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.4621, allocations: 79.89 kB / 462.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.4621, allocations: 2.812 kB / 462.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.755e-05/0.4622, allocations: 5.969 kB / 462.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.4622, allocations: 4.734 kB / 462.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.4622, allocations: 3.188 kB / 462.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.996e-05/0.4622, allocations: 87.91 kB / 462.9 MB, free: 36.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.92e-07/0.4623, allocations: 0 / 462.9 MB, free: 36.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002221/0.4625, allocations: 15.62 kB / 463 MB, free: 36.33 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 (2): * Single equations (assignments): 2 * 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.0001449/0.4626, allocations: 116 kB / 463.1 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.4628, allocations: 29.11 kB / 463.1 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4628, allocations: 0 / 463.1 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.219e-05/0.4628, allocations: 17.95 kB / 463.1 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.463, allocations: 0.7656 kB / 463.1 MB, free: 36.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.4633, allocations: 144.1 kB / 463.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.4634, allocations: 0.6842 MB / 463.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.054e-05/0.4634, allocations: 0 / 463.9 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.4635, allocations: 14.12 kB / 464 MB, free: 35.41 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4635, allocations: 0 / 464 MB, free: 35.41 MB / 382.1 MB Notification: Performance of Templates: time 0.00285/0.4663, allocations: 0.6271 MB / 464.6 MB, free: 35.36 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: