Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") translateModel(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009213/0.009213, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001875/0.001875, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.668/1.668, allocations: 205.1 MB / 222.6 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4237/0.4237, allocations: 54.95 MB / 324.8 MB, free: 12 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.001551/0.001551, allocations: 69.16 kB / 456.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1645, allocations: 59.59 MB / 0.5038 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.002632/0.1672, allocations: 1.403 MB / 0.5052 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004715/0.1677, allocations: 120.5 kB / 0.5053 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.1677, allocations: 0 / 0.5053 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.1678, allocations: 0 / 0.5053 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.752e-05/0.1679, allocations: 9.312 kB / 0.5053 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1682, allocations: 32.14 kB / 0.5053 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.1683, allocations: 24.11 kB / 0.5054 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.1684, allocations: 8.125 kB / 0.5054 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.1685, allocations: 6.734 kB / 0.5054 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.1686, allocations: 12.06 kB / 0.5054 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.1686, allocations: 1.375 kB / 0.5054 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1687, allocations: 31.09 kB / 0.5054 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.1687, allocations: 1.375 kB / 0.5054 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.1688, allocations: 22.66 kB / 0.5054 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.169, allocations: 36.28 kB / 0.5055 GB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.169, allocations: 3.984 kB / 0.5055 GB, free: 8.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.169, allocations: 0 / 0.5055 GB, free: 8.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.169, allocations: 0 / 0.5055 GB, free: 8.398 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.0005547/0.1696, allocations: 338.6 kB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.1696, allocations: 9.625 kB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.1697, allocations: 2.312 kB / 0.5058 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1698, allocations: 169.6 kB / 0.506 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1698, allocations: 5.75 kB / 0.506 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1699, allocations: 5.688 kB / 0.506 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.1701, allocations: 52.61 kB / 0.506 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1701, allocations: 0 / 0.506 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1701, allocations: 3.938 kB / 0.506 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1701, allocations: 1.375 kB / 0.506 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.1703, allocations: 39.2 kB / 0.5061 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1707, allocations: 249.2 kB / 0.5063 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1708, allocations: 42.86 kB / 0.5064 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.1709, allocations: 23.84 kB / 0.5064 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/0.1713, allocations: 204.3 kB / 0.5066 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1714, allocations: 30.56 kB / 0.5066 GB, free: 7.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.655e-06/0.1714, allocations: 1.375 kB / 0.5066 GB, free: 7.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003752/0.1718, allocations: 85.2 kB / 0.5067 GB, free: 7.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.1718, allocations: 51.41 kB / 0.5067 GB, free: 7.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.1719, allocations: 112.8 kB / 0.5068 GB, free: 6.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1719, allocations: 25.7 kB / 0.5069 GB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.172, allocations: 85.5 kB / 0.5069 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.172, allocations: 7.891 kB / 0.507 GB, free: 6.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.172, allocations: 16.47 kB / 0.507 GB, free: 6.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.1721, allocations: 316.2 kB / 0.5073 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.1722, allocations: 17.61 kB / 0.5073 GB, free: 6.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.1722, allocations: 21.59 kB / 0.5073 GB, free: 6.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1724, allocations: 36.08 kB / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1724, allocations: 0 / 0.5073 GB, free: 6.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.1726, allocations: 68.72 kB / 0.5074 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1726, allocations: 5.156 kB / 0.5074 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1726, allocations: 4.094 kB / 0.5074 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1727, allocations: 5.25 kB / 0.5074 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1728, allocations: 9.641 kB / 0.5074 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1728, allocations: 0 / 0.5074 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.1728, allocations: 4.5 kB / 0.5074 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1729, allocations: 0 / 0.5074 GB, free: 6.367 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 7.605e-05/0.1729, allocations: 111.5 kB / 0.5075 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.173, allocations: 13.25 kB / 0.5076 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.1732, allocations: 76.12 kB / 0.5076 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1732, allocations: 0 / 0.5076 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1732, allocations: 0 / 0.5076 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1733, allocations: 1.188 kB / 0.5076 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1734, allocations: 158.9 kB / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1734, allocations: 0 / 0.5078 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-05/0.1735, allocations: 13.92 kB / 0.5078 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1735, allocations: 0 / 0.5078 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1735, allocations: 5.062 kB / 0.5078 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1735, allocations: 0 / 0.5078 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1735, allocations: 1 kB / 0.5078 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.1738, allocations: 166.5 kB / 0.508 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.1738, allocations: 78.36 kB / 0.508 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.1738, allocations: 9.172 kB / 0.508 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.1739, allocations: 7.906 kB / 0.5081 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1739, allocations: 1.312 kB / 0.5081 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1739, allocations: 3.984 kB / 0.5081 GB, free: 5.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.153e-05/0.174, allocations: 88.53 kB / 0.5081 GB, free: 5.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.174, allocations: 0 / 0.5081 GB, free: 5.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1742, allocations: 15.56 kB / 0.5082 GB, free: 5.613 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.0001605/0.1744, allocations: 100 kB / 0.5082 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1746, allocations: 45.53 kB / 0.5083 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1746, allocations: 1.406 kB / 0.5083 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.1747, allocations: 19.3 kB / 0.5083 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.175, allocations: 1.281 kB / 0.5083 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.1754, allocations: 120.3 kB / 0.5084 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.1756, allocations: 0.6808 MB / 0.5091 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.689e-05/0.1756, allocations: 0.9688 kB / 0.5091 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.1756, allocations: 9.5 kB / 0.5091 GB, free: 4.648 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1756, allocations: 0 / 0.5091 GB, free: 4.648 MB / 382.1 MB Notification: Performance of Templates: time 0.003177/0.1788, allocations: 0.6298 MB / 0.5097 GB, free: 4.324 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)