Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001393/0.001393, allocations: 168 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.169/1.169, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001634/0.001634, allocations: 102.8 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.376e-05/2.378e-05, allocations: 4 kB / 268.8 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06521/0.06525, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.2948, allocations: 66.4 MB / 374 MB, free: 9.82 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.295, allocations: 66.41 kB / 374.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003785/0.2988, allocations: 1.433 MB / 375.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.2988, allocations: 0 / 375.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2988, allocations: 7.938 kB / 375.5 MB, free: 8.527 MB / 266.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.0003781/0.2992, allocations: 360.7 kB / 375.9 MB, free: 8.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2992, allocations: 12.03 kB / 375.9 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.2993, allocations: 7.906 kB / 375.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2994, allocations: 175.7 kB / 376.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2994, allocations: 2.875 kB / 376.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2995, allocations: 7.75 kB / 376.1 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.2996, allocations: 103.9 kB / 376.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2996, allocations: 4 kB / 376.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2997, allocations: 0 / 376.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2997, allocations: 4 kB / 376.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.608e-05/0.2998, allocations: 34.44 kB / 376.2 MB, free: 7.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.3004, allocations: 0.64 MB / 376.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.3005, allocations: 108.6 kB / 377 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.3005, allocations: 39.86 kB / 377 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.3006, allocations: 0 / 377 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.3006, allocations: 46.25 kB / 377.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3006, allocations: 0 / 377.1 MB, free: 6.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002476/0.3009, allocations: 73.22 kB / 377.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.3009, allocations: 162.2 kB / 377.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.301, allocations: 104.5 kB / 377.4 MB, free: 6.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3011, allocations: 32.73 kB / 377.4 MB, free: 6.441 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.3011, allocations: 107.2 kB / 377.5 MB, free: 6.336 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.3011, allocations: 15.75 kB / 377.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.3011, allocations: 0 / 377.5 MB, free: 6.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.3013, allocations: 322.2 kB / 377.9 MB, free: 6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.3013, allocations: 11.12 kB / 377.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.3013, allocations: 38.92 kB / 377.9 MB, free: 5.945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.046e-05/0.3014, allocations: 26.86 kB / 377.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3014, allocations: 0 / 377.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001203/0.3015, allocations: 75.16 kB / 378 MB, free: 5.852 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3015, allocations: 4 kB / 378 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3015, allocations: 4.141 kB / 378 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3016, allocations: 8 kB / 378 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3017, allocations: 19.92 kB / 378 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3017, allocations: 0 / 378 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.3018, allocations: 8 kB / 378 MB, free: 5.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3018, allocations: 4 kB / 378 MB, free: 5.805 MB / 266.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.459e-05/0.3019, allocations: 112.2 kB / 378.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.002e-05/0.302, allocations: 15.89 kB / 378.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.302, allocations: 15.05 kB / 378.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.302, allocations: 0 / 378.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.302, allocations: 4 kB / 378.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.302, allocations: 0 / 378.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.3024, allocations: 187 kB / 378.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3024, allocations: 0 / 378.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.3024, allocations: 19.92 kB / 378.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3025, allocations: 4 kB / 378.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3025, allocations: 0 / 378.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3025, allocations: 4 kB / 378.4 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3025, allocations: 4 kB / 378.4 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3027, allocations: 0.5077 MB / 378.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.3028, allocations: 85.02 kB / 379 MB, free: 4.773 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.3028, allocations: 4.188 kB / 379 MB, free: 4.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.303, allocations: 19.12 kB / 379 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3031, allocations: 7.984 kB / 379 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.3031, allocations: 8 kB / 379 MB, free: 4.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.892e-05/0.3032, allocations: 94.42 kB / 379.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3032, allocations: 3.938 kB / 379.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.3035, allocations: 11.38 kB / 379.1 MB, free: 4.641 MB / 266.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 9.632e-05/0.3036, allocations: 99.17 kB / 379.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.871e-05/0.3038, allocations: 37.25 kB / 379.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3038, allocations: 320 / 379.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/0.3038, allocations: 30.62 kB / 379.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.3041, allocations: 4 kB / 379.3 MB, free: 4.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.3044, allocations: 123.1 kB / 379.4 MB, free: 4.324 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3046, allocations: 0.6968 MB / 380.1 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.486e-05/0.3046, allocations: 7.906 kB / 380.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.3047, allocations: 7.438 kB / 380.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3047, allocations: 4 kB / 380.1 MB, free: 3.586 MB / 266.7 MB Notification: Performance of Templates: time 0.002014/0.3067, allocations: 452.2 kB / 380.6 MB, free: 3.16 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)