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.7194/0.7194, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001785/0.001785, allocations: 147.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.623e-05, allocations: 4 kB / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05208/0.05211, allocations: 25.16 MB / 199 MB, free: 2.68 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.2364, allocations: 33.05 MB / 232.1 MB, free: 6.953 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/0.2367, allocations: 63.97 kB / 232.1 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009233/0.2459, allocations: 2.524 MB / 234.7 MB, free: 4.398 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2459, allocations: 4 kB / 234.7 MB, free: 4.395 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.246, allocations: 1.312 kB / 234.7 MB, free: 4.395 MB / 170.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.0004016/0.2464, allocations: 369.5 kB / 235 MB, free: 3.996 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.2464, allocations: 9.531 kB / 235 MB, free: 3.988 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.2465, allocations: 15.67 kB / 235 MB, free: 3.977 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.2466, allocations: 173.2 kB / 235.2 MB, free: 3.77 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.2466, allocations: 4 kB / 235.2 MB, free: 3.766 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2467, allocations: 0 / 235.2 MB, free: 3.766 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001174/0.2468, allocations: 24 kB / 235.2 MB, free: 3.742 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.247, allocations: 100.3 kB / 235.3 MB, free: 3.625 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.247, allocations: 0 / 235.3 MB, free: 3.625 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.247, allocations: 3.953 kB / 235.3 MB, free: 3.621 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.247, allocations: 6.109 kB / 235.3 MB, free: 3.617 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.2476, allocations: 0.6009 MB / 235.9 MB, free: 2.965 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.2477, allocations: 105 kB / 236 MB, free: 2.816 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.2478, allocations: 44.36 kB / 236.1 MB, free: 2.758 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2479, allocations: 0 / 236.1 MB, free: 2.758 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2479, allocations: 48.2 kB / 236.1 MB, free: 2.703 MB / 170.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.2479, allocations: 0 / 236.1 MB, free: 2.703 MB / 170.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003497/0.2483, allocations: 66.95 kB / 236.2 MB, free: 2.633 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2483, allocations: 162.4 kB / 236.4 MB, free: 2.438 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.2484, allocations: 112.9 kB / 236.5 MB, free: 2.32 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.2484, allocations: 25.7 kB / 236.5 MB, free: 2.289 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.2485, allocations: 100.2 kB / 236.6 MB, free: 2.184 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2485, allocations: 11.75 kB / 236.6 MB, free: 2.172 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.2486, allocations: 0 / 236.6 MB, free: 2.172 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.2486, allocations: 322.8 kB / 236.9 MB, free: 1.848 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.2487, allocations: 8 kB / 236.9 MB, free: 1.84 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.888e-05/0.2487, allocations: 40.3 kB / 237 MB, free: 1.785 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.2488, allocations: 21.7 kB / 237 MB, free: 1.766 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2488, allocations: 0 / 237 MB, free: 1.766 MB / 170.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001507/0.249, allocations: 69.66 kB / 237.1 MB, free: 1.691 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.249, allocations: 11.98 kB / 237.1 MB, free: 1.68 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.249, allocations: 0 / 237.1 MB, free: 1.68 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.249, allocations: 4 kB / 237.1 MB, free: 1.676 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.2492, allocations: 16.67 kB / 237.1 MB, free: 1.66 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2492, allocations: 0 / 237.1 MB, free: 1.66 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2493, allocations: 8 kB / 237.1 MB, free: 1.652 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2493, allocations: 4 kB / 237.1 MB, free: 1.648 MB / 170.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 () * 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 6.645e-05/0.2494, allocations: 112.9 kB / 237.2 MB, free: 1.531 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.2496, allocations: 7.906 kB / 237.2 MB, free: 1.523 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.2496, allocations: 15.92 kB / 237.2 MB, free: 1.508 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2496, allocations: 3.531 kB / 237.2 MB, free: 1.508 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2497, allocations: 4 kB / 237.2 MB, free: 1.504 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2497, allocations: 0 / 237.2 MB, free: 1.504 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.2502, allocations: 158.2 kB / 237.4 MB, free: 1.312 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2502, allocations: 4 kB / 237.4 MB, free: 1.309 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.805e-05/0.2503, allocations: 11.98 kB / 237.4 MB, free: 1.297 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2503, allocations: 9.125 kB / 237.4 MB, free: 1.289 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.2503, allocations: 0 / 237.4 MB, free: 1.289 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2503, allocations: 4 kB / 237.4 MB, free: 1.285 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2504, allocations: 7.891 kB / 237.4 MB, free: 1.277 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.2506, allocations: 0.5033 MB / 237.9 MB, free: 0.7305 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.2506, allocations: 81.09 kB / 238 MB, free: 0.6328 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.2507, allocations: 4 kB / 238 MB, free: 0.6289 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.2511, allocations: 11.98 kB / 238 MB, free: 0.6172 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.2511, allocations: 14.38 kB / 238 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.2512, allocations: 3.984 kB / 238.1 MB, free: 0.6016 MB / 170.7 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.2512, allocations: 88.81 kB / 238.1 MB, free: 0.5156 MB / 170.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2512, allocations: 4 kB / 238.1 MB, free: 0.5117 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006765/0.2519, allocations: 16.7 kB / 238.2 MB, free: 0.4961 MB / 170.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 () * 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.0001012/0.252, allocations: 101.2 kB / 238.3 MB, free: 400 kB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.2522, allocations: 36.17 kB / 238.3 MB, free: 364 kB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2522, allocations: 4.062 kB / 238.3 MB, free: 360 kB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.2523, allocations: 19.94 kB / 238.3 MB, free: 340 kB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.2528, allocations: 8 kB / 238.3 MB, free: 332 kB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.2532, allocations: 117.7 kB / 238.4 MB, free: 180 kB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.2535, allocations: 0.6966 MB / 239.1 MB, free: 15.45 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.2536, allocations: 3.984 kB / 239.1 MB, free: 15.45 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.662e-05/0.2536, allocations: 11.44 kB / 239.1 MB, free: 15.44 MB / 186.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2536, allocations: 0 / 239.1 MB, free: 15.44 MB / 186.7 MB Notification: Performance of Templates: time 0.003033/0.2567, allocations: 409.8 kB / 239.5 MB, free: 15.06 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)