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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 98.2 kB / 16.3 MB, free: 5.988 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.00141/0.00141, allocations: 179.2 kB / 17.19 MB, free: 5.906 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.498/1.498, allocations: 205.4 MB / 223.3 MB, free: 5.555 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.0004541/0.0004541, allocations: 8 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2642, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001759/0.266, allocations: 1.281 MB / 329 MB, free: 424 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008151/0.2669, allocations: 433.5 kB / 329.4 MB, free: 84 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.267, allocations: 1.188 kB / 329.4 MB, free: 84 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.267, allocations: 8.953 kB / 329.4 MB, free: 76 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.2672, allocations: 14.27 kB / 329.4 MB, free: 64 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.2673, allocations: 18.56 kB / 329.4 MB, free: 48 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2674, allocations: 36.3 kB / 329.5 MB, free: 24 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.2676, allocations: 33.91 kB / 329.5 MB, free: 8 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.2678, allocations: 23.33 kB / 329.5 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.2679, allocations: 26.36 kB / 329.6 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.2679, allocations: 1.375 kB / 329.6 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.507e-05/0.2679, allocations: 2.281 kB / 329.6 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.268, allocations: 6.5 kB / 329.6 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.268, allocations: 39.98 kB / 329.6 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.695e-05/0.2681, allocations: 41.88 kB / 329.6 MB, free: 15.89 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2681, allocations: 0 / 329.6 MB, free: 15.89 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2681, allocations: 0 / 329.6 MB, free: 15.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2681, allocations: 0 / 329.6 MB, free: 15.89 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.0005736/0.2687, allocations: 375.4 kB / 330 MB, free: 15.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2688, allocations: 9.438 kB / 330 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.2688, allocations: 11.81 kB / 330 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.269, allocations: 174.4 kB / 330.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.269, allocations: 7.547 kB / 330.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.269, allocations: 7.562 kB / 330.2 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.2693, allocations: 125.5 kB / 330.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2693, allocations: 0 / 330.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.2693, allocations: 2.688 kB / 330.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2694, allocations: 2.562 kB / 330.3 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.2696, allocations: 61.92 kB / 330.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.2704, allocations: 0.6519 MB / 331.1 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.2706, allocations: 117.1 kB / 331.2 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.2706, allocations: 1.219 kB / 331.2 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2707, allocations: 40.8 kB / 331.2 MB, free: 14.28 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.2707, allocations: 1.094 kB / 331.2 MB, free: 14.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004896/0.2712, allocations: 134.7 kB / 331.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.2713, allocations: 156.2 kB / 331.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.2714, allocations: 131.5 kB / 331.6 MB, free: 13.9 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.2714, allocations: 26.92 kB / 331.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.2715, allocations: 94.59 kB / 331.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.2715, allocations: 19.19 kB / 331.8 MB, free: 13.76 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.2715, allocations: 7.938 kB / 331.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.2717, allocations: 316 kB / 332.1 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.2718, allocations: 33.14 kB / 332.1 MB, free: 13.42 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.2719, allocations: 50.78 kB / 332.2 MB, free: 13.37 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.272, allocations: 35.61 kB / 332.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.272, allocations: 0 / 332.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000243/0.2722, allocations: 109.5 kB / 332.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.2723, allocations: 5.938 kB / 332.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2723, allocations: 1.219 kB / 332.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2723, allocations: 1.938 kB / 332.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2724, allocations: 15.31 kB / 332.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.2725, allocations: 5.234 kB / 332.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.507e-05/0.2725, allocations: 12.36 kB / 332.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2726, allocations: 6.469 kB / 332.3 MB, free: 13.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.2727, allocations: 121.8 kB / 332.5 MB, free: 13.15 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.753e-05/0.2728, allocations: 8.094 kB / 332.5 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.2728, allocations: 13.95 kB / 332.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2728, allocations: 1.688 kB / 332.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2728, allocations: 2.125 kB / 332.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2729, allocations: 1.188 kB / 332.5 MB, free: 13.13 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.2733, allocations: 189 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2733, allocations: 1.469 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.852e-05/0.2734, allocations: 18.52 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.2734, allocations: 1.344 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2734, allocations: 2.562 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2734, allocations: 1.625 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.2734, allocations: 1.375 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.2739, allocations: 0.5442 MB / 333.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.274, allocations: 92.03 kB / 333.3 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.274, allocations: 6.172 kB / 333.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2742, allocations: 7.219 kB / 333.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.2743, allocations: 12.39 kB / 333.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-06/0.2743, allocations: 2.281 kB / 333.4 MB, free: 12.25 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.835e-05/0.2744, allocations: 95.45 kB / 333.5 MB, free: 12.16 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2744, allocations: 0 / 333.5 MB, free: 12.16 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003932/0.2748, allocations: 10.06 kB / 333.5 MB, free: 12.16 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 (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.0001192/0.2749, allocations: 103.8 kB / 333.6 MB, free: 12.06 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.2752, allocations: 71.11 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2752, allocations: 1.281 kB / 333.6 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.2753, allocations: 35.92 kB / 333.7 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2756, allocations: 10.83 kB / 333.7 MB, free: 12.02 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.276, allocations: 231.2 kB / 333.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2764, allocations: 0.6995 MB / 334.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.021e-05/0.2764, allocations: 10.08 kB / 334.6 MB, free: 11.08 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.2764, allocations: 13.47 kB / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2765, allocations: 0 / 334.6 MB, free: 11.07 MB / 270.1 MB Notification: Performance of Templates: time 0.003108/0.2796, allocations: 436 kB / 335.1 MB, free: 10.85 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: