Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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/HanserModelica 2.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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.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(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03754/0.03755, allocations: 8.794 MB / 25.53 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 251.3 MB, free: 7.414 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009605/0.0009606, allocations: 101.4 kB / 303.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 68.17 kB / 366 MB, free: 180 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1805, allocations: 51.55 MB / 417.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001415/0.1819, allocations: 0.5672 MB / 418.1 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008624/0.1828, allocations: 1.085 MB / 419.2 MB, free: 19.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.1828, allocations: 0 / 419.2 MB, free: 19.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.183, allocations: 19.97 kB / 419.2 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.1831, allocations: 23.91 kB / 419.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.665e-06/0.1831, allocations: 0 / 419.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.581e-05/0.1832, allocations: 27.92 kB / 419.2 MB, free: 19.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.1832, allocations: 0 / 419.2 MB, free: 19.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.551e-05/0.1833, allocations: 19.91 kB / 419.3 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.1834, allocations: 27.91 kB / 419.3 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1834, allocations: 4 kB / 419.3 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.1834, allocations: 4 kB / 419.3 MB, free: 19.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1835, allocations: 68.78 kB / 419.4 MB, free: 19.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.1836, allocations: 35.61 kB / 419.4 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.573e-05/0.1836, allocations: 51.73 kB / 419.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1836, allocations: 0 / 419.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1836, allocations: 3.984 kB / 419.5 MB, free: 18.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.1836, allocations: 0 / 419.5 MB, free: 18.99 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000315/0.184, allocations: 405 kB / 419.9 MB, free: 18.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.184, allocations: 8.031 kB / 419.9 MB, free: 18.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.184, allocations: 92.03 kB / 420 MB, free: 18.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1842, allocations: 284.2 kB / 420.2 MB, free: 18.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1842, allocations: 154.9 kB / 420.4 MB, free: 17.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1842, allocations: 150.9 kB / 420.5 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.448e-05/0.1842, allocations: 105.3 kB / 420.6 MB, free: 17.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1843, allocations: 79.28 kB / 420.7 MB, free: 17.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1843, allocations: 154.6 kB / 420.9 MB, free: 17.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.1843, allocations: 162.5 kB / 421 MB, free: 17.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.1843, allocations: 150.6 kB / 421.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1845, allocations: 481.9 kB / 421.6 MB, free: 16.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.952e-05/0.1845, allocations: 165.1 kB / 421.8 MB, free: 16.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.302e-05/0.1846, allocations: 84.14 kB / 421.9 MB, free: 16.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.1846, allocations: 75.28 kB / 422 MB, free: 16.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.1846, allocations: 117.7 kB / 422.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1846, allocations: 0 / 422.1 MB, free: 16.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.774e-05/0.1847, allocations: 41.52 kB / 422.1 MB, free: 16.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.1847, allocations: 126.7 kB / 422.2 MB, free: 16.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1849, allocations: 231.8 kB / 422.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-06/0.1849, allocations: 33.64 kB / 422.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.1849, allocations: 116.1 kB / 422.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.1849, allocations: 0 / 422.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.1849, allocations: 13.7 kB / 422.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.185, allocations: 330.8 kB / 422.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.185, allocations: 0 / 422.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-06/0.185, allocations: 0 / 422.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.046e-05/0.185, allocations: 79.22 kB / 423 MB, free: 15.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.185, allocations: 83.28 kB / 423.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.482e-05/0.1851, allocations: 37.61 kB / 423.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1851, allocations: 83.22 kB / 423.2 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1851, allocations: 79.36 kB / 423.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.1851, allocations: 162.5 kB / 423.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-06/0.1851, allocations: 75.28 kB / 423.5 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.1852, allocations: 162.5 kB / 423.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.285e-05/0.1852, allocations: 83.28 kB / 423.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1853, allocations: 75.28 kB / 423.8 MB, free: 14.37 MB / 298.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 (0): * Single equations (assignments): 0 * 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.217e-05/0.1853, allocations: 284.9 kB / 424.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.1854, allocations: 128.7 kB / 424.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.1854, allocations: 121.5 kB / 424.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.1854, allocations: 188.2 kB / 424.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.1854, allocations: 176.3 kB / 424.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.1855, allocations: 176.3 kB / 424.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.1856, allocations: 441.1 kB / 425.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.1856, allocations: 105 kB / 425.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.355e-05/0.1856, allocations: 112.9 kB / 425.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/0.1857, allocations: 180.2 kB / 425.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.1857, allocations: 180.3 kB / 425.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-05/0.1857, allocations: 180.2 kB / 426.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.105e-05/0.1857, allocations: 176.3 kB / 426.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1859, allocations: 0.888 MB / 427.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.186, allocations: 193.9 kB / 427.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.186, allocations: 180.3 kB / 427.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.904e-05/0.1861, allocations: 104.9 kB / 427.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1861, allocations: 184.2 kB / 427.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1861, allocations: 108.9 kB / 427.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.674e-05/0.1862, allocations: 172.1 kB / 428 MB, free: 9.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1862, allocations: 4 kB / 428 MB, free: 9.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003228/0.1865, allocations: 0 / 428 MB, free: 9.895 MB / 298.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 (0): * Single equations (assignments): 0 * 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 5.478e-05/0.1866, allocations: 176.8 kB / 428.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.466e-05/0.1866, allocations: 3.984 kB / 428.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1866, allocations: 4 kB / 428.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.1867, allocations: 0 / 428.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.1869, allocations: 0.5286 MB / 428.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.1871, allocations: 318.8 kB / 429.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1872, allocations: 0.7082 MB / 429.8 MB, free: 8.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.095e-05/0.1873, allocations: 4 kB / 429.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.1873, allocations: 7.438 kB / 429.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.1873, allocations: 0 / 429.8 MB, free: 8.082 MB / 298.7 MB Notification: Performance of Templates: time 0.001579/0.1889, allocations: 292.9 kB / 430.1 MB, free: 7.797 MB / 298.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & ./HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)