Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin") translateModel(Annex60.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007815/0.007815, allocations: 96.31 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.001603/0.001603, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.566/1.566, allocations: 205.1 MB / 222.6 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.4191/0.4191, allocations: 54.94 MB / 324.8 MB, free: 16 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.00147/0.00147, allocations: 64.52 kB / 456.2 MB, free: 38.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1486, allocations: 59.59 MB / 0.5037 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.003031/0.1517, allocations: 1.432 MB / 0.5051 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004568/0.1522, allocations: 123.2 kB / 0.5052 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.1523, allocations: 1.375 kB / 0.5052 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.347e-05/0.1523, allocations: 7.938 kB / 0.5052 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.1524, allocations: 9.297 kB / 0.5052 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1527, allocations: 32.2 kB / 0.5053 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.1528, allocations: 43.95 kB / 0.5053 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.153, allocations: 28.05 kB / 0.5053 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.1531, allocations: 14.09 kB / 0.5053 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.1531, allocations: 25.56 kB / 0.5054 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1532, allocations: 3.281 kB / 0.5054 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1533, allocations: 26.11 kB / 0.5054 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.1533, allocations: 13.28 kB / 0.5054 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.1533, allocations: 21.59 kB / 0.5054 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1535, allocations: 71.16 kB / 0.5055 GB, free: 8.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1535, allocations: 0 / 0.5055 GB, free: 8.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1536, allocations: 1.469 kB / 0.5055 GB, free: 8.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1536, allocations: 4 kB / 0.5055 GB, free: 8.523 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004933/0.1541, allocations: 360 kB / 0.5058 GB, free: 8.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1541, allocations: 8.125 kB / 0.5059 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.1552, allocations: 214.1 kB / 0.5061 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1553, allocations: 167.7 kB / 0.5062 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1553, allocations: 6.062 kB / 0.5062 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1554, allocations: 1.812 kB / 0.5062 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/0.156, allocations: 204.1 kB / 0.5064 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.156, allocations: 0 / 0.5064 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.156, allocations: 4 kB / 0.5064 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.156, allocations: 5.344 kB / 0.5064 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009042/0.1569, allocations: 275.2 kB / 0.5067 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.158, allocations: 432.9 kB / 0.5071 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1591, allocations: 291.7 kB / 0.5074 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.1595, allocations: 101.8 kB / 0.5075 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.1595, allocations: 4.062 kB / 0.5075 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1596, allocations: 35.98 kB / 0.5075 GB, free: 6.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.885e-06/0.1596, allocations: 7.984 kB / 0.5075 GB, free: 6.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001181/0.1608, allocations: 311.1 kB / 0.5078 GB, free: 6.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1608, allocations: 55.41 kB / 0.5079 GB, free: 6.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.161, allocations: 125.7 kB / 0.508 GB, free: 6.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.161, allocations: 25.7 kB / 0.508 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.161, allocations: 92.12 kB / 0.5081 GB, free: 6.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.1611, allocations: 11.91 kB / 0.5081 GB, free: 6.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.1612, allocations: 13.72 kB / 0.5081 GB, free: 6.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.1612, allocations: 322.8 kB / 0.5084 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.1616, allocations: 95.88 kB / 0.5085 GB, free: 5.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.1619, allocations: 91.88 kB / 0.5086 GB, free: 5.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.1624, allocations: 168.6 kB / 0.5088 GB, free: 5.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1625, allocations: 0 / 0.5088 GB, free: 5.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006243/0.1631, allocations: 217.4 kB / 0.509 GB, free: 5.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1631, allocations: 8 kB / 0.509 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1631, allocations: 0 / 0.509 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1632, allocations: 4 kB / 0.509 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.1634, allocations: 31.94 kB / 0.509 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1634, allocations: 0 / 0.509 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.1636, allocations: 35.83 kB / 0.5091 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1636, allocations: 0 / 0.5091 GB, free: 5.316 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 (3): * Single equations (assignments): 3 * 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 6.65e-05/0.1637, allocations: 125.8 kB / 0.5092 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.1637, allocations: 3.953 kB / 0.5092 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.1638, allocations: 11.91 kB / 0.5092 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1638, allocations: 0 / 0.5092 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1638, allocations: 0 / 0.5092 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1638, allocations: 7.922 kB / 0.5092 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.164, allocations: 201.6 kB / 0.5094 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.164, allocations: 4.359 kB / 0.5094 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.1642, allocations: 35.95 kB / 0.5094 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1642, allocations: 0 / 0.5094 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1642, allocations: 0 / 0.5094 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1642, allocations: 3.938 kB / 0.5094 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1642, allocations: 3.938 kB / 0.5094 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.1649, allocations: 319.2 kB / 0.5098 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.165, allocations: 81.11 kB / 0.5098 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.165, allocations: 3.938 kB / 0.5098 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1652, allocations: 31.95 kB / 0.5099 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.1653, allocations: 11.92 kB / 0.5099 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.1653, allocations: 0 / 0.5099 GB, free: 4.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.1653, allocations: 99.27 kB / 0.51 GB, free: 4.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1653, allocations: 0 / 0.51 GB, free: 4.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1656, allocations: 12 kB / 0.51 GB, free: 4.277 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 (3): * Single equations (assignments): 3 * 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.0001053/0.1657, allocations: 95.19 kB / 0.5101 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006864/0.1664, allocations: 208 kB / 0.5103 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1664, allocations: 0 / 0.5103 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.1667, allocations: 95.88 kB / 0.5104 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.167, allocations: 4 kB / 0.5104 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.1678, allocations: 277.2 kB / 0.5106 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.168, allocations: 0.6846 MB / 0.5113 GB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.965e-05/0.1681, allocations: 19.98 kB / 0.5113 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.1681, allocations: 11.42 kB / 0.5113 GB, free: 2.836 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1682, allocations: 4 kB / 0.5113 GB, free: 2.832 MB / 382.1 MB Notification: Performance of Templates: time 0.003956/0.1721, allocations: 0.9273 MB / 0.5122 GB, free: 1.914 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe 2>&1)