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.007112/0.007113, allocations: 102 kB / 15.73 MB, free: 6.051 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.001386/0.001386, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.56/1.56, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2692/0.2692, allocations: 54.97 MB / 324.9 MB, free: 4.828 MB / 270.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.001697/0.001697, allocations: 75.84 kB / 456.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 59.59 MB / 0.5037 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.003449/0.1679, allocations: 1.429 MB / 0.5051 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1691, allocations: 0.5897 MB / 0.5057 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.1691, allocations: 3.938 kB / 0.5057 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.1692, allocations: 0 / 0.5057 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.1693, allocations: 7.938 kB / 0.5057 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.1697, allocations: 55.81 kB / 0.5057 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.019e-05/0.1697, allocations: 23.92 kB / 0.5058 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1699, allocations: 4 kB / 0.5058 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.17, allocations: 23.88 kB / 0.5058 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.1701, allocations: 19.91 kB / 0.5058 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1701, allocations: 0 / 0.5058 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1703, allocations: 51.95 kB / 0.5059 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1703, allocations: 0 / 0.5059 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.1703, allocations: 15.92 kB / 0.5059 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1705, allocations: 59.86 kB / 0.5059 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1705, allocations: 0 / 0.5059 GB, free: 4.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1705, allocations: 4 kB / 0.5059 GB, free: 4.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1706, allocations: 0 / 0.5059 GB, free: 4.766 MB / 398.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.0005998/0.1712, allocations: 355.3 kB / 0.5063 GB, free: 4.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.1712, allocations: 8.031 kB / 0.5063 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1713, allocations: 8.922 kB / 0.5063 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.1714, allocations: 172.2 kB / 0.5064 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1715, allocations: 8.375 kB / 0.5065 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1715, allocations: 3.938 kB / 0.5065 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1717, allocations: 41.62 kB / 0.5065 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1717, allocations: 0 / 0.5065 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1717, allocations: 4 kB / 0.5065 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1717, allocations: 0 / 0.5065 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.1718, allocations: 23.98 kB / 0.5065 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1722, allocations: 252.9 kB / 0.5068 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.1723, allocations: 34.5 kB / 0.5068 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.1724, allocations: 20.91 kB / 0.5068 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008794/0.1733, allocations: 473.4 kB / 0.5073 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1733, allocations: 34.56 kB / 0.5073 GB, free: 3.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1733, allocations: 0 / 0.5073 GB, free: 3.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002761/0.1736, allocations: 61.8 kB / 0.5074 GB, free: 3.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.1737, allocations: 55.41 kB / 0.5074 GB, free: 2.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.703e-05/0.1738, allocations: 113.8 kB / 0.5075 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1738, allocations: 25.7 kB / 0.5075 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.1739, allocations: 84.14 kB / 0.5076 GB, free: 2.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.1739, allocations: 7.844 kB / 0.5076 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.1739, allocations: 21.7 kB / 0.5077 GB, free: 2.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1741, allocations: 318.7 kB / 0.508 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.1741, allocations: 16 kB / 0.508 GB, free: 2.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.1742, allocations: 7.984 kB / 0.508 GB, free: 2.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.481e-05/0.1743, allocations: 24.84 kB / 0.508 GB, free: 2.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1743, allocations: 4 kB / 0.508 GB, free: 2.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001319/0.1744, allocations: 53.59 kB / 0.5081 GB, free: 2.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1745, allocations: 4 kB / 0.5081 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1745, allocations: 0 / 0.5081 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1745, allocations: 4.094 kB / 0.5081 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.581e-05/0.1746, allocations: 11.92 kB / 0.5081 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1746, allocations: 3.938 kB / 0.5081 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.1746, allocations: 4 kB / 0.5081 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.1747, allocations: 4 kB / 0.5081 GB, free: 2.23 MB / 398.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 8.088e-05/0.1747, allocations: 113.8 kB / 0.5082 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.1748, allocations: 3.984 kB / 0.5082 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.175, allocations: 61.22 kB / 0.5083 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.175, allocations: 0 / 0.5083 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.175, allocations: 4 kB / 0.5083 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.175, allocations: 7.984 kB / 0.5083 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1752, allocations: 157.6 kB / 0.5084 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1752, allocations: 0 / 0.5084 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.1752, allocations: 7.984 kB / 0.5084 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1753, allocations: 0 / 0.5084 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1753, allocations: 4 kB / 0.5084 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1753, allocations: 3.938 kB / 0.5084 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1753, allocations: 32 / 0.5084 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1755, allocations: 155.4 kB / 0.5086 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.1755, allocations: 85.09 kB / 0.5087 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.1755, allocations: 0 / 0.5087 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.776e-05/0.1756, allocations: 0 / 0.5087 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1757, allocations: 4 kB / 0.5087 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1757, allocations: 0 / 0.5087 GB, free: 1.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.648e-05/0.1757, allocations: 91.3 kB / 0.5088 GB, free: 1.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1757, allocations: 0 / 0.5088 GB, free: 1.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.176, allocations: 19.94 kB / 0.5088 GB, free: 1.422 MB / 398.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.0002217/0.1762, allocations: 119.2 kB / 0.5089 GB, free: 1.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1764, allocations: 31.92 kB / 0.5089 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.1764, allocations: 0 / 0.5089 GB, free: 1.266 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.169e-05/0.1765, allocations: 16.05 kB / 0.5089 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1767, allocations: 0 / 0.5089 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.1771, allocations: 142.4 kB / 0.5091 GB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1775, allocations: 0.6768 MB / 0.5097 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.079e-05/0.1775, allocations: 4 kB / 0.5097 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.1775, allocations: 7.438 kB / 0.5097 GB, free: 376 kB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1776, allocations: 0 / 0.5097 GB, free: 376 kB / 398.1 MB Notification: Performance of Templates: time 0.003742/0.1813, allocations: 0.6728 MB / 0.5104 GB, free: 15.7 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile (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)