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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004847/0.004847, allocations: 98.2 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.001414/0.001414, allocations: 192.9 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8209/0.8209, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.58 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1753, allocations: 80.92 MB / 0.6646 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.003067/0.1784, allocations: 1.432 MB / 0.666 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005259/0.179, allocations: 196.3 kB / 0.6662 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.1791, allocations: 0 / 0.6662 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.1791, allocations: 3.938 kB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.1792, allocations: 7.875 kB / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.1795, allocations: 39.81 kB / 0.6663 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.1796, allocations: 23.92 kB / 0.6663 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1797, allocations: 11.98 kB / 0.6663 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.441e-05/0.1798, allocations: 15.92 kB / 0.6663 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.628e-05/0.1798, allocations: 7.984 kB / 0.6663 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1799, allocations: 4 kB / 0.6663 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.18, allocations: 35.97 kB / 0.6664 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.18, allocations: 3.938 kB / 0.6664 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.18, allocations: 11.94 kB / 0.6664 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.1802, allocations: 43.86 kB / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.1802, allocations: 0 / 0.6664 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1802, allocations: 3.938 kB / 0.6664 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.1802, allocations: 0 / 0.6664 GB, free: 3.953 MB / 0.4981 GB 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.0005959/0.1808, allocations: 347.4 kB / 0.6668 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1809, allocations: 9.109 kB / 0.6668 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1809, allocations: 0.9375 kB / 0.6668 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1811, allocations: 168.3 kB / 0.6669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1811, allocations: 384 / 0.6669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.1811, allocations: 384 / 0.6669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1813, allocations: 54.17 kB / 0.667 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1813, allocations: 192 / 0.667 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1813, allocations: 3.938 kB / 0.667 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1813, allocations: 8 kB / 0.667 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1815, allocations: 31.95 kB / 0.667 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1819, allocations: 248.9 kB / 0.6673 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1821, allocations: 54.45 kB / 0.6673 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.1822, allocations: 20.91 kB / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.1823, allocations: 85.11 kB / 0.6674 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1823, allocations: 34.55 kB / 0.6675 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1823, allocations: 0 / 0.6675 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003513/0.1827, allocations: 73.66 kB / 0.6675 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1827, allocations: 59.53 kB / 0.6676 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.1828, allocations: 101.8 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1828, allocations: 25.7 kB / 0.6677 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.1829, allocations: 84.14 kB / 0.6678 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1829, allocations: 3.953 kB / 0.6678 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.183, allocations: 21.7 kB / 0.6678 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1831, allocations: 314.8 kB / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.277e-05/0.1832, allocations: 15.98 kB / 0.6681 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.1833, allocations: 19.98 kB / 0.6681 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1834, allocations: 40.81 kB / 0.6682 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1834, allocations: 3.938 kB / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001932/0.1836, allocations: 69.55 kB / 0.6682 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1837, allocations: 12.09 kB / 0.6683 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1837, allocations: 0 / 0.6683 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1837, allocations: 3.938 kB / 0.6683 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.1838, allocations: 8 kB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.1838, allocations: 3.938 kB / 0.6683 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.1838, allocations: 11.98 kB / 0.6683 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.1839, allocations: 256 / 0.6683 GB, free: 1.809 MB / 0.4981 GB 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.184e-05/0.1839, allocations: 109.8 kB / 0.6684 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.184, allocations: 8 kB / 0.6684 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.1842, allocations: 76.75 kB / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1842, allocations: 0 / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1842, allocations: 4 kB / 0.6685 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1842, allocations: 4 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.1844, allocations: 161.6 kB / 0.6686 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1844, allocations: 0 / 0.6686 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.1845, allocations: 7.984 kB / 0.6686 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1845, allocations: 8.031 kB / 0.6687 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.1845, allocations: 0 / 0.6687 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1845, allocations: 0 / 0.6687 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1845, allocations: 3.938 kB / 0.6687 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1847, allocations: 163.5 kB / 0.6688 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.079e-05/0.1848, allocations: 81.06 kB / 0.6689 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1848, allocations: 4.031 kB / 0.6689 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.1849, allocations: 7.984 kB / 0.6689 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1849, allocations: 4 kB / 0.6689 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.1849, allocations: 0 / 0.6689 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.185, allocations: 87.27 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.185, allocations: 0 / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002263/0.1852, allocations: 11.94 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB 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.0001759/0.1854, allocations: 104.6 kB / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1856, allocations: 43.89 kB / 0.6691 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1857, allocations: 0 / 0.6691 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.1857, allocations: 19.98 kB / 0.6692 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.186, allocations: 7.938 kB / 0.6692 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.1864, allocations: 101.6 kB / 0.6693 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1868, allocations: 0.6807 MB / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.1868, allocations: 0 / 0.6699 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.1868, allocations: 11.38 kB / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1869, allocations: 3.938 kB / 0.6699 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.002718/0.1896, allocations: 0.5749 MB / 0.6705 GB, free: 15.37 MB / 0.5137 GB 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)