Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6273/0.6273, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001527/0.001527, allocations: 139.4 kB / 151.8 MB, free: 4.977 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002367, allocations: 4 kB / 184.9 MB, free: 3.922 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 25.15 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04364/0.1719, allocations: 33.81 MB / 243.8 MB, free: 16 kB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.1722, allocations: 67.95 kB / 243.9 MB, free: 15.95 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00669/0.1789, allocations: 2.531 MB / 246.4 MB, free: 13.43 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.179, allocations: 0 / 246.4 MB, free: 13.43 MB / 186.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.179, allocations: 0 / 246.4 MB, free: 13.43 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004828/0.1795, allocations: 383.1 kB / 246.8 MB, free: 13.01 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1795, allocations: 12.03 kB / 246.8 MB, free: 13 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.1796, allocations: 12.44 kB / 246.8 MB, free: 12.99 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1797, allocations: 188.2 kB / 247 MB, free: 12.77 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.1798, allocations: 0 / 247 MB, free: 12.77 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.1798, allocations: 8 kB / 247 MB, free: 12.76 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.18, allocations: 117.9 kB / 247.1 MB, free: 12.62 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.18, allocations: 4 kB / 247.2 MB, free: 12.62 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1801, allocations: 2.5 kB / 247.2 MB, free: 12.62 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1801, allocations: 3.953 kB / 247.2 MB, free: 12.61 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.1803, allocations: 72.64 kB / 247.2 MB, free: 12.54 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.1809, allocations: 0.6381 MB / 247.9 MB, free: 11.84 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1811, allocations: 121 kB / 248 MB, free: 11.68 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1811, allocations: 0 / 248 MB, free: 11.68 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1811, allocations: 38.62 kB / 248 MB, free: 11.63 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1811, allocations: 4 kB / 248 MB, free: 11.62 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004393/0.1816, allocations: 134 kB / 248.2 MB, free: 11.49 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.1817, allocations: 166.1 kB / 248.3 MB, free: 11.29 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.1818, allocations: 113.5 kB / 248.4 MB, free: 11.18 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1818, allocations: 25.7 kB / 248.5 MB, free: 11.14 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.1819, allocations: 104.2 kB / 248.6 MB, free: 11.04 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1819, allocations: 11.8 kB / 248.6 MB, free: 11.02 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1819, allocations: 4 kB / 248.6 MB, free: 11.02 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.182, allocations: 314.9 kB / 248.9 MB, free: 10.7 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.1821, allocations: 31.97 kB / 248.9 MB, free: 10.67 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.1822, allocations: 52.28 kB / 249 MB, free: 10.61 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.1823, allocations: 35.92 kB / 249 MB, free: 10.57 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1823, allocations: 0 / 249 MB, free: 10.57 MB / 186.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002178/0.1826, allocations: 113.5 kB / 249.1 MB, free: 10.45 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1826, allocations: 4 kB / 249.1 MB, free: 10.45 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1826, allocations: 7.938 kB / 249.1 MB, free: 10.44 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1826, allocations: 0 / 249.1 MB, free: 10.44 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1827, allocations: 19.92 kB / 249.1 MB, free: 10.42 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1827, allocations: 8.141 kB / 249.1 MB, free: 10.41 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.1828, allocations: 11.98 kB / 249.2 MB, free: 10.4 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1828, allocations: 4 kB / 249.2 MB, free: 10.4 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.288e-05/0.1829, allocations: 120.8 kB / 249.3 MB, free: 10.27 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.183, allocations: 11.86 kB / 249.3 MB, free: 10.26 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.1831, allocations: 11.53 kB / 249.3 MB, free: 10.25 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1831, allocations: 3.984 kB / 249.3 MB, free: 10.25 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1831, allocations: 3.25 kB / 249.3 MB, free: 10.25 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1831, allocations: 8 kB / 249.3 MB, free: 10.24 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.1835, allocations: 183.4 kB / 249.5 MB, free: 10.02 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1835, allocations: 0 / 249.5 MB, free: 10.02 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.1836, allocations: 19.92 kB / 249.5 MB, free: 9.996 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1836, allocations: 0 / 249.5 MB, free: 9.996 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1836, allocations: 7.953 kB / 249.5 MB, free: 9.988 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1836, allocations: 0 / 249.5 MB, free: 9.988 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1836, allocations: 0 / 249.5 MB, free: 9.988 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.184, allocations: 0.5495 MB / 250.1 MB, free: 9.398 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1841, allocations: 85.09 kB / 250.2 MB, free: 9.297 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1841, allocations: 8 kB / 250.2 MB, free: 9.289 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.1843, allocations: 4 kB / 250.2 MB, free: 9.285 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.1844, allocations: 15.94 kB / 250.2 MB, free: 9.27 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1844, allocations: 4 kB / 250.2 MB, free: 9.266 MB / 186.7 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.1845, allocations: 96.47 kB / 250.3 MB, free: 9.172 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1845, allocations: 0 / 250.3 MB, free: 9.172 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.1848, allocations: 19.84 kB / 250.3 MB, free: 9.152 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000108/0.1849, allocations: 95.23 kB / 250.4 MB, free: 9.047 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.1852, allocations: 71.89 kB / 250.5 MB, free: 8.977 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1852, allocations: 3.938 kB / 250.5 MB, free: 8.973 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 9.762e-05/0.1853, allocations: 43.64 kB / 250.5 MB, free: 8.934 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.1856, allocations: 9.859 kB / 250.5 MB, free: 8.926 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.186, allocations: 218.1 kB / 250.7 MB, free: 8.664 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1863, allocations: 0.6926 MB / 251.4 MB, free: 7.945 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 3.881e-05/0.1863, allocations: 7.984 kB / 251.4 MB, free: 7.938 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.1864, allocations: 11.44 kB / 251.4 MB, free: 7.93 MB / 186.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1864, allocations: 0 / 251.4 MB, free: 7.93 MB / 186.7 MB Notification: Performance of Templates: time 0.002126/0.1885, allocations: 437.3 kB / 251.9 MB, free: 7.52 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.1_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)