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.00141/0.00141, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00135/0.00135, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.521/1.521, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.128/1.128, allocations: 135.2 MB / 425.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 73.03 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 80.93 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002957/0.1798, allocations: 1.652 MB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.1807, allocations: 0.4919 MB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.1807, allocations: 4 kB / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1808, allocations: 3.938 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.1809, allocations: 11.86 kB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1811, allocations: 39.91 kB / 0.5861 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1813, allocations: 83.7 kB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1814, allocations: 44.06 kB / 0.5862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.1815, allocations: 35.86 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.1816, allocations: 35.84 kB / 0.5863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1816, allocations: 15.94 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.1817, allocations: 15.98 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.1818, allocations: 23.91 kB / 0.5863 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.1818, allocations: 39.75 kB / 0.5864 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.182, allocations: 83.98 kB / 0.5864 GB, free: 2.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.182, allocations: 3.984 kB / 0.5864 GB, free: 2.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.182, allocations: 0 / 0.5864 GB, free: 2.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.182, allocations: 3.938 kB / 0.5865 GB, free: 2.254 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.000621/0.1826, allocations: 403 kB / 0.5868 GB, free: 1.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1827, allocations: 12.03 kB / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.1827, allocations: 8.844 kB / 0.5869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1829, allocations: 202.2 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1829, allocations: 4.375 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.183, allocations: 12.36 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1832, allocations: 105.9 kB / 0.5872 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1833, allocations: 4 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1833, allocations: 4 kB / 0.5872 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1833, allocations: 4 kB / 0.5872 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.1835, allocations: 91.94 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.1842, allocations: 388.5 kB / 0.5876 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1844, allocations: 62.48 kB / 0.5877 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1845, allocations: 48.95 kB / 0.5877 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.1845, allocations: 4 kB / 0.5877 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1846, allocations: 34.56 kB / 0.5878 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1846, allocations: 0 / 0.5878 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004816/0.1851, allocations: 169.5 kB / 0.5879 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.1851, allocations: 51.41 kB / 0.588 GB, free: 0.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.1853, allocations: 129.8 kB / 0.5881 GB, free: 372 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1853, allocations: 29.64 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.1854, allocations: 108 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1854, allocations: 23.73 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.1855, allocations: 29.7 kB / 0.5883 GB, free: 164 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1856, allocations: 314.8 kB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.1857, allocations: 39.97 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1859, allocations: 39.97 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.1861, allocations: 88.81 kB / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1861, allocations: 0 / 0.5888 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002737/0.1864, allocations: 125.5 kB / 0.5889 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1864, allocations: 8 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1864, allocations: 0 / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1864, allocations: 0 / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1866, allocations: 23.86 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1866, allocations: 4.375 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.1867, allocations: 15.98 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.1867, allocations: 3.984 kB / 0.5889 GB, free: 15.49 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 0.0001014/0.1868, allocations: 121.8 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.1868, allocations: 7.906 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/0.1872, allocations: 142.3 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1872, allocations: 3.938 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1872, allocations: 11.94 kB / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1872, allocations: 0 / 0.5892 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1875, allocations: 209.5 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1875, allocations: 0 / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.1876, allocations: 15.98 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1876, allocations: 0 / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.1876, allocations: 4 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1877, allocations: 7.938 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1877, allocations: 0 / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.188, allocations: 219.4 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1881, allocations: 85.02 kB / 0.5897 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1881, allocations: 3.984 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1882, allocations: 11.94 kB / 0.5897 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.1883, allocations: 11.92 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.1883, allocations: 0 / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.017e-05/0.1884, allocations: 109.3 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.024e-06/0.1884, allocations: 0 / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002384/0.1886, allocations: 19.84 kB / 0.5899 GB, free: 14.43 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.0001671/0.1888, allocations: 103.2 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.1891, allocations: 95.94 kB / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1891, allocations: 0 / 0.5901 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1892, allocations: 63.89 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1895, allocations: 6.531 kB / 0.5901 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.19, allocations: 239.5 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1903, allocations: 0.7041 MB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.1905, allocations: 23.95 kB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.1905, allocations: 15.42 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1905, allocations: 0 / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.003122/0.1936, allocations: 0.646 MB / 0.5917 GB, free: 12.49 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)