Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001465/0.001465, allocations: 179.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.112/1.112, allocations: 194.5 MB / 211.6 MB, free: 3.07 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001771/0.001771, allocations: 112.4 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002991, allocations: 11.98 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.073/0.07331, allocations: 44.49 MB / 355 MB, free: 2.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/0.2837, allocations: 71.79 MB / 426.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.2839, allocations: 67.59 kB / 426.9 MB, free: 17.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003163/0.2871, allocations: 1.436 MB / 428.3 MB, free: 16.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2871, allocations: 4.906 kB / 428.3 MB, free: 16.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2871, allocations: 0 / 428.3 MB, free: 16.49 MB / 314.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.0003075/0.2874, allocations: 379.6 kB / 428.7 MB, free: 16.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2875, allocations: 8.625 kB / 428.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.2875, allocations: 8.938 kB / 428.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.58e-05/0.2876, allocations: 178.3 kB / 428.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2876, allocations: 4 kB / 428.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.2876, allocations: 8.5 kB / 428.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2878, allocations: 118.5 kB / 429 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.2878, allocations: 4.922 kB / 429 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2878, allocations: 3.062 kB / 429 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2879, allocations: 4 kB / 429 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.288, allocations: 62.88 kB / 429.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.2884, allocations: 0.6372 MB / 429.7 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.2886, allocations: 127.5 kB / 429.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2886, allocations: 4 kB / 429.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.2886, allocations: 37.56 kB / 429.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.2886, allocations: 0 / 429.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003894/0.289, allocations: 142.2 kB / 430 MB, free: 14.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.289, allocations: 161.7 kB / 430.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.386e-05/0.2891, allocations: 109 kB / 430.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2891, allocations: 29.02 kB / 430.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.2892, allocations: 100.2 kB / 430.4 MB, free: 14.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.2892, allocations: 18.98 kB / 430.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.2892, allocations: 0 / 430.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.2892, allocations: 322.1 kB / 430.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.2893, allocations: 23.23 kB / 430.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.2894, allocations: 64.92 kB / 430.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.2895, allocations: 33.92 kB / 430.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2895, allocations: 4 kB / 430.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001799/0.2896, allocations: 102.1 kB / 431 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2897, allocations: 8.156 kB / 431 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2897, allocations: 3.938 kB / 431 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2897, allocations: 4 kB / 431 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.2898, allocations: 15.98 kB / 431 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.2898, allocations: 3.953 kB / 431 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.578e-05/0.2899, allocations: 10.62 kB / 431 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.2899, allocations: 4 kB / 431 MB, free: 13.64 MB / 314.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 5.142e-05/0.2899, allocations: 127.3 kB / 431.2 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/0.29, allocations: 7.906 kB / 431.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.29, allocations: 6.906 kB / 431.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2901, allocations: 4 kB / 431.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2901, allocations: 0 / 431.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2901, allocations: 7.953 kB / 431.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.2904, allocations: 179 kB / 431.4 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2904, allocations: 4 kB / 431.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.2904, allocations: 15.92 kB / 431.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2904, allocations: 10.19 kB / 431.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2905, allocations: 0 / 431.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2905, allocations: 4 kB / 431.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2905, allocations: 0 / 431.4 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.2907, allocations: 0.5364 MB / 431.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.2907, allocations: 92.06 kB / 432 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2908, allocations: 4 kB / 432 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.291, allocations: 11.98 kB / 432 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.291, allocations: 7.438 kB / 432 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.291, allocations: 0 / 432 MB, free: 12.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.647e-05/0.291, allocations: 94.69 kB / 432.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2911, allocations: 1.781 kB / 432.1 MB, free: 12.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000332/0.2914, allocations: 11.06 kB / 432.1 MB, free: 12.46 MB / 314.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 6.342e-05/0.2915, allocations: 100.4 kB / 432.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.2917, allocations: 74.2 kB / 432.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2917, allocations: 4.062 kB / 432.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.2918, allocations: 34.86 kB / 432.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.292, allocations: 11.52 kB / 432.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.2923, allocations: 232.3 kB / 432.6 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2925, allocations: 0.703 MB / 433.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.092e-05/0.2925, allocations: 4 kB / 433.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.2925, allocations: 11.44 kB / 433.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2925, allocations: 0 / 433.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of Templates: time 0.001918/0.2945, allocations: 450.2 kB / 433.8 MB, free: 10.86 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)