Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 183.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9498/0.9498, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 403.4 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009696, allocations: 112.3 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 55.92 kB / 0.5619 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1604, allocations: 80.19 MB / 0.6402 GB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.004362/0.1648, allocations: 1.523 MB / 0.6417 GB, free: 5.266 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006437/0.1655, allocations: 148.4 kB / 0.6418 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.1656, allocations: 4 kB / 0.6418 GB, free: 5.113 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 6.621e-05/0.1657, allocations: 3.938 kB / 0.6418 GB, free: 5.109 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.797e-05/0.1658, allocations: 4 kB / 0.6418 GB, free: 5.105 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.1661, allocations: 19.92 kB / 0.6418 GB, free: 5.086 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1663, allocations: 47.89 kB / 0.6419 GB, free: 5.039 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1665, allocations: 16 kB / 0.6419 GB, free: 5.023 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.1666, allocations: 19.92 kB / 0.6419 GB, free: 5.004 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.589e-05/0.1666, allocations: 15.92 kB / 0.6419 GB, free: 4.988 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1667, allocations: 4 kB / 0.6419 GB, free: 4.984 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1668, allocations: 35.91 kB / 0.642 GB, free: 4.949 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.1669, allocations: 4 kB / 0.642 GB, free: 4.945 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.1669, allocations: 23.84 kB / 0.642 GB, free: 4.922 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.1671, allocations: 55.88 kB / 0.642 GB, free: 4.867 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1671, allocations: 0 / 0.642 GB, free: 4.867 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1671, allocations: 4 kB / 0.642 GB, free: 4.863 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.1672, allocations: 0 / 0.642 GB, free: 4.863 MB / 442.7 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.0006851/0.1679, allocations: 363.6 kB / 0.6424 GB, free: 4.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.1679, allocations: 12.03 kB / 0.6424 GB, free: 4.445 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.1695, allocations: 204.6 kB / 0.6426 GB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1697, allocations: 180.2 kB / 0.6428 GB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1698, allocations: 4.375 kB / 0.6428 GB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1698, allocations: 8.312 kB / 0.6428 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.1706, allocations: 194 kB / 0.643 GB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1706, allocations: 192 / 0.643 GB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.1707, allocations: 7.938 kB / 0.643 GB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1707, allocations: 4 kB / 0.643 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.1719, allocations: 275.6 kB / 0.6432 GB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.1732, allocations: 449.2 kB / 0.6437 GB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.1748, allocations: 282.2 kB / 0.6439 GB, free: 2.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.1753, allocations: 105.8 kB / 0.644 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1754, allocations: 0 / 0.644 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1754, allocations: 38.56 kB / 0.6441 GB, free: 2.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 2.925e-06/0.1754, allocations: 0 / 0.6441 GB, free: 2.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.001707/0.1772, allocations: 313.2 kB / 0.6444 GB, free: 2.305 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1772, allocations: 51.41 kB / 0.6444 GB, free: 2.242 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1774, allocations: 121.8 kB / 0.6445 GB, free: 2.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1774, allocations: 25.7 kB / 0.6446 GB, free: 2.082 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.1775, allocations: 92.12 kB / 0.6447 GB, free: 1.988 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1775, allocations: 11.84 kB / 0.6447 GB, free: 1.977 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.1776, allocations: 17.7 kB / 0.6447 GB, free: 1.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1778, allocations: 322.8 kB / 0.645 GB, free: 1.629 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.1783, allocations: 91.88 kB / 0.6451 GB, free: 1.539 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.1788, allocations: 95.88 kB / 0.6452 GB, free: 1.445 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.1798, allocations: 172.6 kB / 0.6453 GB, free: 1.273 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1798, allocations: 0 / 0.6453 GB, free: 1.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001096/0.1809, allocations: 229.3 kB / 0.6456 GB, free: 1.043 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.181, allocations: 4.938 kB / 0.6456 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.181, allocations: 0 / 0.6456 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.181, allocations: 0 / 0.6456 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.1814, allocations: 31.95 kB / 0.6456 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1814, allocations: 0 / 0.6456 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002792/0.1817, allocations: 31.94 kB / 0.6456 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1817, allocations: 4 kB / 0.6456 GB, free: 0.9727 MB / 442.7 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 0.0001231/0.1818, allocations: 119.1 kB / 0.6457 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.1819, allocations: 4 kB / 0.6457 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.182, allocations: 11.89 kB / 0.6457 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.182, allocations: 4 kB / 0.6458 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.182, allocations: 0 / 0.6458 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.182, allocations: 0 / 0.6458 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.1824, allocations: 221.4 kB / 0.646 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1824, allocations: 4.328 kB / 0.646 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.1827, allocations: 27.95 kB / 0.646 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.1827, allocations: 4 kB / 0.646 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.1828, allocations: 7.922 kB / 0.646 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1828, allocations: 0 / 0.646 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1828, allocations: 0 / 0.646 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.1848, allocations: 0.9774 MB / 0.647 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.1849, allocations: 89.09 kB / 0.647 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.1849, allocations: 384 / 0.647 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.1852, allocations: 27.89 kB / 0.6471 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.1853, allocations: 4 kB / 0.6471 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.1853, allocations: 0 / 0.6471 GB, free: 15.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.714e-05/0.1854, allocations: 103.2 kB / 0.6472 GB, free: 15.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1854, allocations: 0 / 0.6472 GB, free: 15.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006304/0.1861, allocations: 12 kB / 0.6472 GB, free: 15.23 MB / 458.7 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.000166/0.1863, allocations: 99.23 kB / 0.6473 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.1874, allocations: 191.8 kB / 0.6475 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1874, allocations: 0 / 0.6475 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005473/0.1879, allocations: 111.8 kB / 0.6476 GB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1884, allocations: 0 / 0.6476 GB, free: 14.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.1898, allocations: 385.6 kB / 0.6479 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1901, allocations: 0.6926 MB / 0.6486 GB, free: 13.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.1903, allocations: 19.98 kB / 0.6486 GB, free: 13.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.1904, allocations: 11.44 kB / 0.6486 GB, free: 13.66 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1904, allocations: 0 / 0.6486 GB, free: 13.66 MB / 458.7 MB Notification: Performance of Templates: time 0.003981/0.1944, allocations: 0.8669 MB / 0.6495 GB, free: 12.79 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)