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/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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002309/0.002309, allocations: 196.4 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 51.92 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2731, allocations: 46.62 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002851/0.276, allocations: 1.659 MB / 326.3 MB, free: 0.5156 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006511/0.2767, allocations: 457.4 kB / 326.8 MB, free: 164 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.601e-05/0.2768, allocations: 2.25 kB / 326.8 MB, free: 164 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.2768, allocations: 5.031 kB / 326.8 MB, free: 160 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.086e-05/0.2769, allocations: 17.05 kB / 326.8 MB, free: 144 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.2771, allocations: 19.34 kB / 326.8 MB, free: 128 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.2772, allocations: 54.41 kB / 326.9 MB, free: 96 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.2773, allocations: 39.78 kB / 326.9 MB, free: 76 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.2775, allocations: 32.95 kB / 326.9 MB, free: 52 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.206e-05/0.2775, allocations: 30.72 kB / 327 MB, free: 28 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2775, allocations: 7.484 kB / 327 MB, free: 24 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.2776, allocations: 4.531 kB / 327 MB, free: 24 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.2776, allocations: 14.22 kB / 327 MB, free: 12 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 6.24e-05/0.2777, allocations: 30.19 kB / 327 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2778, allocations: 57.11 kB / 327.1 MB, free: 15.94 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2778, allocations: 0 / 327.1 MB, free: 15.94 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2778, allocations: 0 / 327.1 MB, free: 15.94 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2778, allocations: 0 / 327.1 MB, free: 15.94 MB / 270.1 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.0006162/0.2784, allocations: 379.6 kB / 327.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2785, allocations: 10.81 kB / 327.5 MB, free: 15.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.2785, allocations: 8.344 kB / 327.5 MB, free: 15.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2786, allocations: 187.6 kB / 327.6 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2787, allocations: 3.906 kB / 327.7 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.2787, allocations: 8 kB / 327.7 MB, free: 15.33 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2789, allocations: 108 kB / 327.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.279, allocations: 0 / 327.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.279, allocations: 6.812 kB / 327.8 MB, free: 15.22 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.279, allocations: 7.938 kB / 327.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.2792, allocations: 63.59 kB / 327.8 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.2799, allocations: 0.6339 MB / 328.5 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2801, allocations: 113.6 kB / 328.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.2802, allocations: 52.75 kB / 328.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.2803, allocations: 5.078 kB / 328.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.2803, allocations: 41.5 kB / 328.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.2803, allocations: 0 / 328.7 MB, free: 14.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004474/0.2808, allocations: 121.2 kB / 328.8 MB, free: 14.21 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.2808, allocations: 164.3 kB / 329 MB, free: 14.01 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.281, allocations: 123.8 kB / 329.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.281, allocations: 27.11 kB / 329.1 MB, free: 13.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.2811, allocations: 94.14 kB / 329.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.2811, allocations: 22.7 kB / 329.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.2812, allocations: 23.58 kB / 329.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2813, allocations: 316.3 kB / 329.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.2814, allocations: 23.91 kB / 329.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2815, allocations: 58.88 kB / 329.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.2817, allocations: 77.55 kB / 329.7 MB, free: 13.28 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2817, allocations: 0 / 329.7 MB, free: 13.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002254/0.282, allocations: 100.8 kB / 329.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.282, allocations: 5.844 kB / 329.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.282, allocations: 5.594 kB / 329.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.282, allocations: 1.469 kB / 329.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.2821, allocations: 16.92 kB / 329.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2821, allocations: 1.469 kB / 329.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.2822, allocations: 13.61 kB / 329.9 MB, free: 13.19 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2822, allocations: 2.719 kB / 329.9 MB, free: 13.19 MB / 270.1 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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * 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.0001094/0.2824, allocations: 118.2 kB / 330 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.2824, allocations: 7.938 kB / 330 MB, free: 13.07 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.2825, allocations: 18.14 kB / 330 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.2825, allocations: 1.656 kB / 330 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2825, allocations: 2.625 kB / 330 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.2825, allocations: 5 kB / 330 MB, free: 13.05 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.2829, allocations: 184.8 kB / 330.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2829, allocations: 1.375 kB / 330.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.283, allocations: 13.05 kB / 330.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.283, allocations: 1.156 kB / 330.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.283, allocations: 2.25 kB / 330.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.283, allocations: 13.17 kB / 330.2 MB, free: 12.82 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.283, allocations: 5.281 kB / 330.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.2835, allocations: 489.5 kB / 330.7 MB, free: 12.35 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.2835, allocations: 88.23 kB / 330.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2836, allocations: 2.25 kB / 330.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.2838, allocations: 8.484 kB / 330.8 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.2839, allocations: 20.48 kB / 330.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.2839, allocations: 6.156 kB / 330.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.226e-05/0.2839, allocations: 87.53 kB / 330.9 MB, free: 12.15 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2839, allocations: 1.062 kB / 330.9 MB, free: 12.15 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.2843, allocations: 9.094 kB / 330.9 MB, free: 12.15 MB / 270.1 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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * 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.0001331/0.2845, allocations: 104.6 kB / 331 MB, free: 12.05 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.2847, allocations: 58.66 kB / 331.1 MB, free: 12.03 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2847, allocations: 0 / 331.1 MB, free: 12.03 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2848, allocations: 36.47 kB / 331.1 MB, free: 12.01 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.2853, allocations: 11.19 kB / 331.1 MB, free: 12 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.2858, allocations: 221.2 kB / 331.3 MB, free: 11.79 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.2862, allocations: 0.6903 MB / 332 MB, free: 11.09 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.345e-05/0.2862, allocations: 2.219 kB / 332 MB, free: 11.09 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.2862, allocations: 9.594 kB / 332 MB, free: 11.08 MB / 270.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2863, allocations: 0 / 332 MB, free: 11.08 MB / 270.1 MB Notification: Performance of Templates: time 0.002422/0.2887, allocations: 464.2 kB / 332.5 MB, free: 10.85 MB / 270.1 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)