Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") translateModel(Annex60.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006956/0.006956, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.00207/0.00207, allocations: 198.7 kB / 16.68 MB, free: 5.953 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: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.425/0.425, allocations: 54.94 MB / 324.8 MB, free: 15.93 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.001618/0.001618, allocations: 67.59 kB / 456.2 MB, free: 38.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1639, allocations: 59.59 MB / 0.5037 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothExponential): time 0.002667/0.1666, allocations: 1.4 MB / 0.5051 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.1671, allocations: 178.2 kB / 0.5052 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.1671, allocations: 5.062 kB / 0.5052 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.1672, allocations: 3.938 kB / 0.5052 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.1672, allocations: 1 kB / 0.5052 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1675, allocations: 32.75 kB / 0.5053 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.791e-05/0.1676, allocations: 29.73 kB / 0.5053 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1677, allocations: 10.91 kB / 0.5053 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.1678, allocations: 8.469 kB / 0.5053 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.1679, allocations: 18.86 kB / 0.5053 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1679, allocations: 1.312 kB / 0.5053 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.168, allocations: 37.5 kB / 0.5054 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.168, allocations: 0 / 0.5054 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.1681, allocations: 11.56 kB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1682, allocations: 45.02 kB / 0.5054 GB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1682, allocations: 1.219 kB / 0.5054 GB, free: 8.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1682, allocations: 0 / 0.5054 GB, free: 8.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1682, allocations: 0 / 0.5054 GB, free: 8.25 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.000492/0.1687, allocations: 346.5 kB / 0.5058 GB, free: 7.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1688, allocations: 9.562 kB / 0.5058 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1688, allocations: 2.344 kB / 0.5058 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.604e-05/0.1689, allocations: 175 kB / 0.5059 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1689, allocations: 384 / 0.5059 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.1689, allocations: 1.594 kB / 0.5059 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1691, allocations: 54.05 kB / 0.506 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.1691, allocations: 0 / 0.506 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1692, allocations: 0 / 0.506 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1692, allocations: 5.375 kB / 0.506 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.1693, allocations: 37.77 kB / 0.506 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.1697, allocations: 249.2 kB / 0.5063 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.1698, allocations: 36.31 kB / 0.5063 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.1699, allocations: 26.47 kB / 0.5063 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.457e-05/0.17, allocations: 79.86 kB / 0.5064 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.17, allocations: 43.86 kB / 0.5065 GB, free: 7.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.17, allocations: 0 / 0.5065 GB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003488/0.1703, allocations: 81.22 kB / 0.5065 GB, free: 7.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.1704, allocations: 59.52 kB / 0.5066 GB, free: 6.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.1704, allocations: 100.7 kB / 0.5067 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.1705, allocations: 25.7 kB / 0.5067 GB, free: 6.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.1705, allocations: 81.52 kB / 0.5068 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.1705, allocations: 13.27 kB / 0.5068 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.1705, allocations: 11.09 kB / 0.5068 GB, free: 6.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.1706, allocations: 316.2 kB / 0.5071 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.1707, allocations: 17.61 kB / 0.5071 GB, free: 6.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.869e-05/0.1708, allocations: 21.55 kB / 0.5072 GB, free: 6.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1709, allocations: 44.06 kB / 0.5072 GB, free: 6.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1709, allocations: 3.938 kB / 0.5072 GB, free: 6.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001769/0.1711, allocations: 65.03 kB / 0.5073 GB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1711, allocations: 9.594 kB / 0.5073 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1711, allocations: 0 / 0.5073 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1712, allocations: 0 / 0.5073 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.1712, allocations: 6.875 kB / 0.5073 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1713, allocations: 3.984 kB / 0.5073 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1713, allocations: 4.125 kB / 0.5073 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1713, allocations: 0 / 0.5073 GB, free: 6.332 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.194e-05/0.1714, allocations: 112.5 kB / 0.5074 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1714, allocations: 9.281 kB / 0.5074 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.1716, allocations: 78.7 kB / 0.5075 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1716, allocations: 0 / 0.5075 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1716, allocations: 1.375 kB / 0.5075 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1717, allocations: 3.984 kB / 0.5075 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1718, allocations: 161.7 kB / 0.5076 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1718, allocations: 1.375 kB / 0.5076 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.1718, allocations: 9.484 kB / 0.5076 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1719, allocations: 5.406 kB / 0.5076 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1719, allocations: 0 / 0.5076 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1719, allocations: 0 / 0.5076 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1719, allocations: 1.375 kB / 0.5076 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.1721, allocations: 170.7 kB / 0.5078 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.1721, allocations: 78.48 kB / 0.5079 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.1721, allocations: 4.281 kB / 0.5079 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.1722, allocations: 8.109 kB / 0.5079 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.1723, allocations: 9.375 kB / 0.5079 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1723, allocations: 1.375 kB / 0.5079 GB, free: 5.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.467e-05/0.1723, allocations: 83.39 kB / 0.508 GB, free: 5.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1723, allocations: 0 / 0.508 GB, free: 5.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000223/0.1725, allocations: 9.625 kB / 0.508 GB, free: 5.582 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.0001666/0.1727, allocations: 98.5 kB / 0.5081 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.1729, allocations: 49.89 kB / 0.5081 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.173, allocations: 0 / 0.5081 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.173, allocations: 16.36 kB / 0.5082 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1733, allocations: 9.312 kB / 0.5082 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.1736, allocations: 119.2 kB / 0.5083 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.1738, allocations: 0.6861 MB / 0.5089 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.228e-05/0.1738, allocations: 1.375 kB / 0.5089 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.1738, allocations: 8.812 kB / 0.509 GB, free: 4.609 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1738, allocations: 0 / 0.509 GB, free: 4.609 MB / 382.1 MB Notification: Performance of Templates: time 0.002831/0.1766, allocations: 0.5777 MB / 0.5095 GB, free: 4.312 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)