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.001211/0.001211, allocations: 104 kB / 17.06 MB, free: 6.027 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.001172/0.001172, allocations: 195 kB / 18 MB, free: 5.105 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.707/1.707, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001439/0.001439, allocations: 51.92 kB / 327.8 MB, free: 3.332 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1454, allocations: 46.62 MB / 374.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003175/0.1486, allocations: 1.575 MB / 376 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.1495, allocations: 471.5 kB / 376.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.1496, allocations: 8 kB / 376.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.627e-05/0.1497, allocations: 11.86 kB / 376.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1498, allocations: 7.875 kB / 376.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.1501, allocations: 23.91 kB / 376.6 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.1502, allocations: 59.78 kB / 376.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.1504, allocations: 47.95 kB / 376.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1505, allocations: 35.78 kB / 376.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.91e-05/0.1506, allocations: 31.86 kB / 376.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.1507, allocations: 4 kB / 376.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.1507, allocations: 8 kB / 376.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.1507, allocations: 7.984 kB / 376.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.1508, allocations: 35.8 kB / 376.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1509, allocations: 71.66 kB / 376.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.151, allocations: 0 / 376.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.151, allocations: 0 / 376.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.151, allocations: 0 / 376.9 MB, free: 2.191 MB / 318.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.0005938/0.1516, allocations: 375.3 kB / 377.2 MB, free: 1.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.1516, allocations: 12.03 kB / 377.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.1517, allocations: 8.844 kB / 377.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.1519, allocations: 180.2 kB / 377.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.1519, allocations: 4.375 kB / 377.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1519, allocations: 4.375 kB / 377.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1522, allocations: 114.3 kB / 377.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1523, allocations: 7.938 kB / 377.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.1523, allocations: 4 kB / 377.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1523, allocations: 0 / 377.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1525, allocations: 55.89 kB / 377.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.1533, allocations: 0.6341 MB / 378.2 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1536, allocations: 121 kB / 378.4 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.1537, allocations: 60.28 kB / 378.4 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1537, allocations: 0 / 378.4 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.1538, allocations: 46.5 kB / 378.5 MB, free: 352 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1538, allocations: 0 / 378.5 MB, free: 352 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005006/0.1543, allocations: 133.9 kB / 378.6 MB, free: 212 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.1544, allocations: 158.3 kB / 378.7 MB, free: 16 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3341/0.4885, allocations: 123 kB / 378.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.4886, allocations: 26.92 kB / 378.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.4887, allocations: 98.16 kB / 379 MB, free: 13.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.4887, allocations: 19.97 kB / 379 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.4888, allocations: 20.84 kB / 379 MB, free: 13.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.4889, allocations: 314.8 kB / 379.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.489, allocations: 21.45 kB / 379.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.4891, allocations: 54 kB / 379.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.4893, allocations: 82.17 kB / 379.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4894, allocations: 0.7656 kB / 379.5 MB, free: 13.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003126/0.4897, allocations: 96.64 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.4897, allocations: 5.594 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.4897, allocations: 1.375 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.4898, allocations: 1.375 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.4899, allocations: 17.17 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.4899, allocations: 9.109 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.49, allocations: 14.11 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.49, allocations: 2.75 kB / 379.6 MB, free: 13.04 MB / 318.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.0001062/0.4901, allocations: 126.7 kB / 379.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.4903, allocations: 7.75 kB / 379.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.4903, allocations: 19.89 kB / 379.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4903, allocations: 1.375 kB / 379.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.4903, allocations: 2.75 kB / 379.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4904, allocations: 6.172 kB / 379.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.4907, allocations: 180.2 kB / 380 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4907, allocations: 1.375 kB / 380 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.4908, allocations: 11.77 kB / 380 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4908, allocations: 1.375 kB / 380 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.4908, allocations: 8.625 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4909, allocations: 4.266 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4909, allocations: 1.375 kB / 380 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.4912, allocations: 491.3 kB / 380.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.4913, allocations: 82.77 kB / 380.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.4913, allocations: 12.66 kB / 380.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.4915, allocations: 7.703 kB / 380.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.4916, allocations: 8.859 kB / 380.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4916, allocations: 5.906 kB / 380.6 MB, free: 12.19 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.4917, allocations: 90.73 kB / 380.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4917, allocations: 0 / 380.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003809/0.4921, allocations: 15.22 kB / 380.7 MB, free: 12.11 MB / 318.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.0001341/0.4922, allocations: 106.5 kB / 380.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4925, allocations: 55.08 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4925, allocations: 7.422 kB / 380.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4926, allocations: 36.94 kB / 380.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.4931, allocations: 8.391 kB / 380.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.4937, allocations: 203.5 kB / 381.1 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.4939, allocations: 0.6926 MB / 381.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.494, allocations: 2.359 kB / 381.8 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.494, allocations: 10.19 kB / 381.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.494, allocations: 3.938 kB / 381.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of Templates: time 0.003342/0.4973, allocations: 0.5711 MB / 382.4 MB, free: 11.1 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.makefile (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)