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.001595/0.001595, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9736/0.9736, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 68.3 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1804, allocations: 80.93 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003389/0.1838, allocations: 1.582 MB / 0.5859 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1848, allocations: 0.4974 MB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.185, allocations: 0 / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1851, allocations: 11.88 kB / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.1852, allocations: 19.8 kB / 0.5864 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1855, allocations: 39.95 kB / 0.5865 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1856, allocations: 83.64 kB / 0.5866 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001907/0.1858, allocations: 48.19 kB / 0.5866 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.186, allocations: 35.8 kB / 0.5866 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.915e-05/0.1861, allocations: 39.84 kB / 0.5867 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1861, allocations: 8 kB / 0.5867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.375e-05/0.1862, allocations: 11.98 kB / 0.5867 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.1862, allocations: 27.91 kB / 0.5867 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.1863, allocations: 39.73 kB / 0.5868 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.1865, allocations: 83.98 kB / 0.5868 GB, free: 2.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1865, allocations: 0 / 0.5868 GB, free: 2.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1865, allocations: 4 kB / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1865, allocations: 0 / 0.5868 GB, free: 2.02 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.0005645/0.1871, allocations: 407 kB / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1871, allocations: 8.031 kB / 0.5872 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.1872, allocations: 12.83 kB / 0.5872 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.1874, allocations: 196.1 kB / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.1874, allocations: 384 / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.1874, allocations: 8.375 kB / 0.5874 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.1877, allocations: 113.9 kB / 0.5875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1877, allocations: 0 / 0.5875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1877, allocations: 4 kB / 0.5876 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1877, allocations: 0 / 0.5876 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.188, allocations: 95.92 kB / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.1886, allocations: 384.5 kB / 0.588 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1887, allocations: 62.48 kB / 0.5881 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1889, allocations: 44.95 kB / 0.5881 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.1889, allocations: 12 kB / 0.5881 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1889, allocations: 30.56 kB / 0.5882 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.189, allocations: 0 / 0.5882 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004556/0.1894, allocations: 165.5 kB / 0.5883 GB, free: 348 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1895, allocations: 51.41 kB / 0.5884 GB, free: 284 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.1896, allocations: 144 kB / 0.5885 GB, free: 132 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1896, allocations: 25.7 kB / 0.5885 GB, free: 100 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.1897, allocations: 100.2 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.1897, allocations: 23.8 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/0.1898, allocations: 25.64 kB / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1899, allocations: 322.8 kB / 0.589 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.19, allocations: 39.97 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1901, allocations: 44.34 kB / 0.5891 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.1903, allocations: 88.81 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1903, allocations: 0 / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002696/0.1906, allocations: 129.5 kB / 0.5893 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1907, allocations: 4 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1907, allocations: 0 / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1907, allocations: 4 kB / 0.5893 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1908, allocations: 27.86 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1908, allocations: 0 / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/0.1909, allocations: 7.984 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.1909, allocations: 4 kB / 0.5893 GB, free: 15.26 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 9.103e-05/0.191, allocations: 121.8 kB / 0.5894 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.1911, allocations: 7.906 kB / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.1914, allocations: 138.3 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1915, allocations: 7.938 kB / 0.5896 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1915, allocations: 0 / 0.5896 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1915, allocations: 3.984 kB / 0.5896 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1917, allocations: 209.5 kB / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1917, allocations: 0 / 0.5898 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1918, allocations: 23.92 kB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1918, allocations: 4 kB / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1918, allocations: 128 / 0.5898 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1918, allocations: 11.94 kB / 0.5898 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1918, allocations: 3.984 kB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.1922, allocations: 211.4 kB / 0.59 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.1922, allocations: 85.02 kB / 0.5901 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1922, allocations: 7.984 kB / 0.5901 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1923, allocations: 11.94 kB / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.1924, allocations: 7.984 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1924, allocations: 4 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.565e-05/0.1925, allocations: 107.2 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1925, allocations: 0 / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002509/0.1927, allocations: 19.91 kB / 0.5902 GB, free: 14.19 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.0001654/0.1929, allocations: 103.2 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1932, allocations: 95.94 kB / 0.5904 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1932, allocations: 4 kB / 0.5904 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.1934, allocations: 59.89 kB / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1936, allocations: 6.188 kB / 0.5905 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004949/0.1941, allocations: 219.2 kB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.1944, allocations: 0.703 MB / 0.5914 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.1946, allocations: 11.98 kB / 0.5914 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.1946, allocations: 15.42 kB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1946, allocations: 4 kB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.003034/0.1977, allocations: 0.7096 MB / 0.5921 GB, free: 12.22 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)