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.8177/0.8177, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001873/0.001873, allocations: 151.5 kB / 149.1 MB, free: 0.9883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.119e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04012/0.04016, allocations: 25.18 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06035/0.1006, allocations: 33.71 MB / 239.1 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.1008, allocations: 55.98 kB / 239.1 MB, free: 6.625 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.1114, allocations: 2.547 MB / 241.7 MB, free: 4.062 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1114, allocations: 4 kB / 241.7 MB, free: 4.059 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1114, allocations: 0 / 241.7 MB, free: 4.059 MB / 186.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.000504/0.1119, allocations: 370.3 kB / 242.1 MB, free: 3.652 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.112, allocations: 8.031 kB / 242.1 MB, free: 3.645 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1121, allocations: 15.86 kB / 242.1 MB, free: 3.629 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1122, allocations: 174.9 kB / 242.3 MB, free: 3.418 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.1123, allocations: 4 kB / 242.3 MB, free: 3.414 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.1123, allocations: 8 kB / 242.3 MB, free: 3.406 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1125, allocations: 93.97 kB / 242.4 MB, free: 3.293 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1126, allocations: 7.922 kB / 242.4 MB, free: 3.285 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.1126, allocations: 8 kB / 242.4 MB, free: 3.277 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.1126, allocations: 3.953 kB / 242.4 MB, free: 3.273 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1127, allocations: 39.92 kB / 242.4 MB, free: 3.234 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007948/0.1135, allocations: 0.6303 MB / 243 MB, free: 2.539 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1137, allocations: 106.6 kB / 243.1 MB, free: 2.391 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.1139, allocations: 44.28 kB / 243.2 MB, free: 2.332 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1139, allocations: 4 kB / 243.2 MB, free: 2.328 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.1139, allocations: 38.56 kB / 243.2 MB, free: 2.281 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 3.997e-06/0.114, allocations: 0 / 243.2 MB, free: 2.281 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003985/0.1144, allocations: 81.41 kB / 243.3 MB, free: 2.195 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.1145, allocations: 154.2 kB / 243.5 MB, free: 2.008 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1146, allocations: 116.9 kB / 243.6 MB, free: 1.887 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1146, allocations: 25.7 kB / 243.6 MB, free: 1.855 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.1147, allocations: 108.4 kB / 243.7 MB, free: 1.742 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1147, allocations: 11.75 kB / 243.7 MB, free: 1.73 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.1148, allocations: 4 kB / 243.7 MB, free: 1.727 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1149, allocations: 314.8 kB / 244 MB, free: 1.41 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.115, allocations: 8 kB / 244 MB, free: 1.402 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.581e-05/0.115, allocations: 40.28 kB / 244.1 MB, free: 1.348 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.1151, allocations: 16 kB / 244.1 MB, free: 1.332 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1151, allocations: 4 kB / 244.1 MB, free: 1.328 MB / 186.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000217/0.1154, allocations: 81.42 kB / 244.2 MB, free: 1.242 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1154, allocations: 8 kB / 244.2 MB, free: 1.234 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1154, allocations: 0 / 244.2 MB, free: 1.234 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1154, allocations: 160 / 244.2 MB, free: 1.234 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.1156, allocations: 19.98 kB / 244.2 MB, free: 1.215 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1156, allocations: 7.938 kB / 244.2 MB, free: 1.207 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1158, allocations: 8.109 kB / 244.2 MB, free: 1.199 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1158, allocations: 8 kB / 244.2 MB, free: 1.191 MB / 186.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 8.895e-05/0.1159, allocations: 112.9 kB / 244.3 MB, free: 1.074 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.1161, allocations: 11.86 kB / 244.3 MB, free: 1.062 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.1161, allocations: 15.64 kB / 244.4 MB, free: 1.047 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1161, allocations: 4 kB / 244.4 MB, free: 1.043 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1161, allocations: 0 / 244.4 MB, free: 1.043 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.1162, allocations: 4 kB / 244.4 MB, free: 1.039 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.1168, allocations: 181.6 kB / 244.6 MB, free: 0.8125 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1168, allocations: 3.938 kB / 244.6 MB, free: 0.8086 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1169, allocations: 15.98 kB / 244.6 MB, free: 0.793 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.1169, allocations: 3.953 kB / 244.6 MB, free: 0.7891 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.117, allocations: 4 kB / 244.6 MB, free: 0.7852 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.117, allocations: 0 / 244.6 MB, free: 0.7852 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/0.117, allocations: 7.938 kB / 244.6 MB, free: 0.7773 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.1174, allocations: 0.5072 MB / 245.1 MB, free: 232 kB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.1175, allocations: 81.09 kB / 245.2 MB, free: 132 kB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1175, allocations: 4 kB / 245.2 MB, free: 128 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.1179, allocations: 11.98 kB / 245.2 MB, free: 116 kB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.118, allocations: 11.95 kB / 245.2 MB, free: 104 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.118, allocations: 0 / 245.2 MB, free: 104 kB / 186.7 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.1181, allocations: 103.2 kB / 245.3 MB, free: 0 / 186.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1181, allocations: 0 / 245.3 MB, free: 0 / 186.7 MB Notification: Performance of remove unused functions: time 0.1388/0.2569, allocations: 12.75 kB / 245.3 MB, free: 42.97 MB / 186.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.0001491/0.2571, allocations: 95.58 kB / 245.4 MB, free: 42.89 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2574, allocations: 33.84 kB / 245.4 MB, free: 42.89 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2574, allocations: 1.344 kB / 245.4 MB, free: 42.89 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 5.697e-05/0.2574, allocations: 24.94 kB / 245.5 MB, free: 42.89 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.2578, allocations: 5.609 kB / 245.5 MB, free: 42.89 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.2582, allocations: 129.9 kB / 245.6 MB, free: 42.77 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.2583, allocations: 0.7034 MB / 246.3 MB, free: 42.07 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 4.218e-05/0.2584, allocations: 1.797 kB / 246.3 MB, free: 42.07 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.2584, allocations: 10.97 kB / 246.3 MB, free: 42.07 MB / 186.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2584, allocations: 0 / 246.3 MB, free: 42.07 MB / 186.7 MB Notification: Performance of Templates: time 0.002224/0.2607, allocations: 444.8 kB / 246.7 MB, free: 42.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)