Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001718/0.001718, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9909/0.9909, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 56.19 kB / 0.5047 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1656, allocations: 80.93 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002716/0.1684, allocations: 1.637 MB / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008336/0.1693, allocations: 0.4958 MB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.1693, allocations: 0 / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1694, allocations: 11.88 kB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.798e-05/0.1695, allocations: 23.78 kB / 0.5858 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.1697, allocations: 27.98 kB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1698, allocations: 79.75 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.17, allocations: 40.2 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1702, allocations: 39.8 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.378e-05/0.1703, allocations: 39.83 kB / 0.586 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1703, allocations: 4 kB / 0.586 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1704, allocations: 15.98 kB / 0.5861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.1705, allocations: 15.92 kB / 0.5861 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.1705, allocations: 39.75 kB / 0.5861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1707, allocations: 79.92 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1707, allocations: 0 / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1707, allocations: 0 / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1707, allocations: 0 / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005541/0.1713, allocations: 411.1 kB / 0.5866 GB, free: 2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1713, allocations: 8.031 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.1714, allocations: 8.844 kB / 0.5866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1716, allocations: 206.5 kB / 0.5868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1716, allocations: 8.375 kB / 0.5868 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1716, allocations: 4.375 kB / 0.5868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1719, allocations: 111.8 kB / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.1719, allocations: 0 / 0.5869 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1719, allocations: 4 kB / 0.5869 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1719, allocations: 4 kB / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.1722, allocations: 99.88 kB / 0.587 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.1728, allocations: 384.5 kB / 0.5874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1729, allocations: 58.55 kB / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.173, allocations: 52.95 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.1731, allocations: 3.938 kB / 0.5875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1731, allocations: 34.56 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1731, allocations: 4 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004573/0.1736, allocations: 161.5 kB / 0.5877 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.1736, allocations: 51.41 kB / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1738, allocations: 137.8 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1738, allocations: 25.7 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.1738, allocations: 104 kB / 0.588 GB, free: 420 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.1739, allocations: 27.78 kB / 0.588 GB, free: 392 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.1739, allocations: 21.7 kB / 0.588 GB, free: 364 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.174, allocations: 318.8 kB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1742, allocations: 35.97 kB / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1743, allocations: 48 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.1745, allocations: 92.75 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1745, allocations: 0 / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002572/0.1748, allocations: 125.5 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1748, allocations: 4 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1748, allocations: 0 / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1749, allocations: 0 / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.175, allocations: 23.92 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.175, allocations: 0 / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.1751, allocations: 19.92 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.1751, allocations: 4 kB / 0.5887 GB, free: 15.68 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 (6): * Single equations (assignments): 6 * 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 8.792e-05/0.1752, allocations: 117.8 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1753, allocations: 7.906 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.1756, allocations: 146.8 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1756, allocations: 7.938 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1756, allocations: 0 / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1757, allocations: 3.984 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.1759, allocations: 205.5 kB / 0.5891 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1759, allocations: 0 / 0.5891 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.176, allocations: 23.92 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.176, allocations: 3.938 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.176, allocations: 0 / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.176, allocations: 3.938 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.176, allocations: 0 / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.1764, allocations: 227.4 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.1764, allocations: 81.02 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1765, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1766, allocations: 15.92 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.1766, allocations: 7.984 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1767, allocations: 4 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.749e-05/0.1767, allocations: 101.8 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1767, allocations: 0 / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002412/0.177, allocations: 23.91 kB / 0.5896 GB, free: 14.62 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 (6): * Single equations (assignments): 6 * 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.0001687/0.1771, allocations: 103.2 kB / 0.5897 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.1775, allocations: 95.94 kB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1775, allocations: 0 / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1776, allocations: 55.91 kB / 0.5899 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.1778, allocations: 11.98 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.1783, allocations: 237 kB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1786, allocations: 0.7043 MB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001379/0.1788, allocations: 12.36 kB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1788, allocations: 15.42 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1788, allocations: 3.938 kB / 0.5908 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.002937/0.1818, allocations: 0.6181 MB / 0.5914 GB, free: 12.72 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)