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.001252/0.001253, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.189/1.189, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001678/0.001678, allocations: 119.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.029e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08528/0.08532, allocations: 38.76 MB / 301 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.3044, allocations: 65.74 MB / 366.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001461/0.3046, allocations: 64.59 kB / 366.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003303/0.3079, allocations: 1.429 MB / 368.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3079, allocations: 0 / 368.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3079, allocations: 0 / 368.2 MB, free: 1.355 MB / 250.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.0002603/0.3082, allocations: 368 kB / 368.6 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3083, allocations: 8.031 kB / 368.6 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3083, allocations: 11.89 kB / 368.6 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.3084, allocations: 174.9 kB / 368.8 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3084, allocations: 4 kB / 368.8 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3084, allocations: 4 kB / 368.8 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.3e-05/0.3085, allocations: 26.3 kB / 368.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.3087, allocations: 94.22 kB / 368.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3087, allocations: 0 / 368.9 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3087, allocations: 6.078 kB / 368.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3087, allocations: 0 / 368.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.3091, allocations: 0.6114 MB / 369.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.3093, allocations: 104 kB / 369.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.3093, allocations: 41.7 kB / 369.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3094, allocations: 0 / 369.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.3094, allocations: 54.3 kB / 369.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.3094, allocations: 0 / 369.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002292/0.3096, allocations: 63.72 kB / 369.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.3097, allocations: 158.2 kB / 369.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.3098, allocations: 109.3 kB / 370 MB, free: 15.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3098, allocations: 25.7 kB / 370 MB, free: 15.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.3099, allocations: 100.8 kB / 370.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3099, allocations: 14.75 kB / 370.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.3099, allocations: 0 / 370.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.31, allocations: 318.8 kB / 370.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.3101, allocations: 7.625 kB / 370.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.3101, allocations: 43.3 kB / 370.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.3101, allocations: 18.42 kB / 370.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3102, allocations: 3.953 kB / 370.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001018/0.3103, allocations: 69.84 kB / 370.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3103, allocations: 7.906 kB / 370.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3103, allocations: 7.984 kB / 370.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.3103, allocations: 0 / 370.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3104, allocations: 24.08 kB / 370.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3104, allocations: 0 / 370.6 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.3105, allocations: 8 kB / 370.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3105, allocations: 4 kB / 370.7 MB, free: 14.7 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.336e-05/0.3106, allocations: 107.6 kB / 370.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.465e-05/0.3107, allocations: 11.86 kB / 370.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.3107, allocations: 15.11 kB / 370.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3107, allocations: 4 kB / 370.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3107, allocations: 8.672 kB / 370.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3108, allocations: 0 / 370.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3111, allocations: 160.9 kB / 371 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3111, allocations: 4 kB / 371 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.3111, allocations: 19.86 kB / 371 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3112, allocations: 7.953 kB / 371 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.3112, allocations: 0 / 371 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3112, allocations: 4 kB / 371 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3112, allocations: 4 kB / 371 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3114, allocations: 0.4968 MB / 371.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.3115, allocations: 89 kB / 371.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3115, allocations: 0 / 371.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3117, allocations: 11.98 kB / 371.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.3118, allocations: 15.33 kB / 371.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3118, allocations: 7.984 kB / 371.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.357e-05/0.3119, allocations: 90.84 kB / 371.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 3.938 kB / 371.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.3122, allocations: 8 kB / 371.7 MB, free: 13.57 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 0.0001105/0.3123, allocations: 95.19 kB / 371.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.563e-05/0.3124, allocations: 32.62 kB / 371.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3124, allocations: 0 / 371.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.3125, allocations: 26.3 kB / 371.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3128, allocations: 4.719 kB / 371.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.3131, allocations: 120.4 kB / 372 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3133, allocations: 0.6924 MB / 372.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.3134, allocations: 11.83 kB / 372.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.3134, allocations: 19.38 kB / 372.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3134, allocations: 0 / 372.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Templates: time 0.002072/0.3155, allocations: 412.4 kB / 373.1 MB, free: 12.14 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)