Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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-master/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-master/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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 180.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-master/package.mo): time 0.83/0.83, allocations: 133.3 MB / 150.1 MB, free: 11.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.441/1.441, allocations: 222.9 MB / 404.7 MB, free: 5.98 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.001009/0.001009, allocations: 107.7 kB / 485.9 MB, free: 7.121 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.92 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.166, allocations: 80.43 MB / 0.6421 GB, free: 5.379 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.003037/0.1691, allocations: 1.483 MB / 0.6436 GB, free: 3.875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000456/0.1696, allocations: 205.6 kB / 0.6438 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.1696, allocations: 0 / 0.6438 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.1697, allocations: 4 kB / 0.6438 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.1698, allocations: 3.938 kB / 0.6438 GB, free: 3.664 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.17, allocations: 27.95 kB / 0.6438 GB, free: 3.637 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.928e-05/0.1701, allocations: 23.94 kB / 0.6438 GB, free: 3.613 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.657e-05/0.1702, allocations: 7.984 kB / 0.6439 GB, free: 3.605 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.1702, allocations: 8 kB / 0.6439 GB, free: 3.598 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.1703, allocations: 7.922 kB / 0.6439 GB, free: 3.59 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1703, allocations: 4 kB / 0.6439 GB, free: 3.586 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.1704, allocations: 31.97 kB / 0.6439 GB, free: 3.555 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.1704, allocations: 8 kB / 0.6439 GB, free: 3.547 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.1704, allocations: 11.91 kB / 0.6439 GB, free: 3.535 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1706, allocations: 39.89 kB / 0.644 GB, free: 3.496 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1706, allocations: 0 / 0.644 GB, free: 3.496 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1706, allocations: 0 / 0.644 GB, free: 3.496 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1706, allocations: 0 / 0.644 GB, free: 3.496 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004564/0.171, allocations: 347.7 kB / 0.6443 GB, free: 3.105 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1711, allocations: 8.031 kB / 0.6443 GB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.1711, allocations: 8.844 kB / 0.6443 GB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.1713, allocations: 176.3 kB / 0.6445 GB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1713, allocations: 384 / 0.6445 GB, free: 2.879 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.1713, allocations: 4.375 kB / 0.6445 GB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1715, allocations: 54.17 kB / 0.6445 GB, free: 2.816 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1715, allocations: 192 / 0.6445 GB, free: 2.816 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1715, allocations: 3.938 kB / 0.6445 GB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.1716, allocations: 3.984 kB / 0.6445 GB, free: 2.809 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.1717, allocations: 35.97 kB / 0.6446 GB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.172, allocations: 245 kB / 0.6448 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.1722, allocations: 46.38 kB / 0.6448 GB, free: 2.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.1723, allocations: 24.91 kB / 0.6449 GB, free: 2.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.032e-05/0.1724, allocations: 81.09 kB / 0.645 GB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.1724, allocations: 34.56 kB / 0.645 GB, free: 2.262 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1724, allocations: 0 / 0.645 GB, free: 2.262 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.1728, allocations: 81.64 kB / 0.6451 GB, free: 2.176 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1728, allocations: 51.41 kB / 0.6451 GB, free: 2.113 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.096e-05/0.1729, allocations: 101.9 kB / 0.6452 GB, free: 2.004 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1729, allocations: 29.83 kB / 0.6452 GB, free: 1.969 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.173, allocations: 88.03 kB / 0.6453 GB, free: 1.879 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.173, allocations: 15.92 kB / 0.6453 GB, free: 1.863 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.173, allocations: 9.719 kB / 0.6453 GB, free: 1.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1732, allocations: 314.8 kB / 0.6456 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.1732, allocations: 15.98 kB / 0.6457 GB, free: 1.516 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.1733, allocations: 15.97 kB / 0.6457 GB, free: 1.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1735, allocations: 44.89 kB / 0.6457 GB, free: 1.453 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1735, allocations: 0 / 0.6457 GB, free: 1.453 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.1737, allocations: 73.75 kB / 0.6458 GB, free: 1.375 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1737, allocations: 4 kB / 0.6458 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1737, allocations: 0 / 0.6458 GB, free: 1.371 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1737, allocations: 4.031 kB / 0.6458 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.855e-05/0.1738, allocations: 19.92 kB / 0.6458 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1738, allocations: 0 / 0.6458 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.1739, allocations: 4 kB / 0.6458 GB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1739, allocations: 0 / 0.6458 GB, free: 1.344 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 (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 6.923e-05/0.174, allocations: 117.8 kB / 0.6459 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.174, allocations: 0 / 0.6459 GB, free: 1.219 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.1742, allocations: 76.78 kB / 0.646 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1743, allocations: 0 / 0.646 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1743, allocations: 0 / 0.646 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1743, allocations: 0 / 0.646 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1744, allocations: 165.5 kB / 0.6462 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1744, allocations: 0 / 0.6462 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.1745, allocations: 11.94 kB / 0.6462 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.257e-05/0.1745, allocations: 0 / 0.6462 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1745, allocations: 3.938 kB / 0.6462 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1745, allocations: 3.938 kB / 0.6462 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1745, allocations: 8.016 kB / 0.6462 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.1751, allocations: 0.7239 MB / 0.6469 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.1751, allocations: 81.09 kB / 0.647 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1751, allocations: 4.031 kB / 0.647 GB, free: 20 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.114e-05/0.1752, allocations: 4 kB / 0.647 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.1752, allocations: 7.984 kB / 0.647 GB, free: 8 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.1753, allocations: 3.938 kB / 0.647 GB, free: 4 kB / 442.7 MB Notification: Performance of sorting global known variables: time 5.883e-05/0.1753, allocations: 83.33 kB / 0.6471 GB, free: 15.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1753, allocations: 0 / 0.6471 GB, free: 15.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003262/0.1757, allocations: 8 kB / 0.6471 GB, free: 15.91 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 (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.0001466/0.1758, allocations: 111.2 kB / 0.6472 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.176, allocations: 31.97 kB / 0.6472 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.176, allocations: 0 / 0.6472 GB, free: 15.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.1761, allocations: 23.92 kB / 0.6472 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.1764, allocations: 9.703 kB / 0.6472 GB, free: 15.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.1767, allocations: 214.1 kB / 0.6475 GB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.177, allocations: 0.677 MB / 0.6481 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.177, allocations: 11.92 kB / 0.6481 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.1771, allocations: 7.438 kB / 0.6481 GB, free: 14.77 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1771, allocations: 0 / 0.6481 GB, free: 14.77 MB / 458.7 MB Notification: Performance of Templates: time 0.002927/0.18, allocations: 0.5208 MB / 0.6486 GB, free: 14.25 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)