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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001196, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009481/0.009481, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.78/1.78, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.0004794/0.0004794, allocations: 11.98 kB / 279.4 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2495, allocations: 47.59 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001369/0.2509, allocations: 1.3 MB / 328.3 MB, free: 356 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005225/0.2515, allocations: 460.9 kB / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/0.2515, allocations: 1.125 kB / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.2515, allocations: 9.281 kB / 328.8 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.453e-05/0.2516, allocations: 9.047 kB / 328.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.2518, allocations: 19.7 kB / 328.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.2518, allocations: 54.25 kB / 328.9 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.252, allocations: 43.3 kB / 328.9 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.2521, allocations: 23.58 kB / 328.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.2522, allocations: 22.3 kB / 329 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.2522, allocations: 5.719 kB / 329 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.2522, allocations: 2.469 kB / 329 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.2522, allocations: 13.27 kB / 329 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.2523, allocations: 47.08 kB / 329 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.341e-05/0.2524, allocations: 57.36 kB / 329.1 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2524, allocations: 4 kB / 329.1 MB, free: 15.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2524, allocations: 1.375 kB / 329.1 MB, free: 15.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.2524, allocations: 0 / 329.1 MB, free: 15.76 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.0004504/0.2529, allocations: 377.5 kB / 329.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2529, allocations: 13.56 kB / 329.5 MB, free: 15.37 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.2529, allocations: 7.594 kB / 329.5 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2531, allocations: 173.2 kB / 329.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.2531, allocations: 6.359 kB / 329.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2531, allocations: 8 kB / 329.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.2534, allocations: 127.5 kB / 329.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.2534, allocations: 0 / 329.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2534, allocations: 1.375 kB / 329.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2534, allocations: 2.875 kB / 329.8 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.2536, allocations: 71.89 kB / 329.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006781/0.2543, allocations: 0.636 MB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.2545, allocations: 125.9 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.2546, allocations: 56.66 kB / 330.7 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2547, allocations: 5.156 kB / 330.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.2547, allocations: 36.81 kB / 330.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2547, allocations: 1.312 kB / 330.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004692/0.2552, allocations: 142.8 kB / 330.8 MB, free: 14.02 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.2553, allocations: 156.6 kB / 331 MB, free: 13.83 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.2554, allocations: 123.8 kB / 331.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.2554, allocations: 26.14 kB / 331.1 MB, free: 13.68 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.2555, allocations: 99.5 kB / 331.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.2555, allocations: 17.97 kB / 331.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.2555, allocations: 17.12 kB / 331.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2557, allocations: 316 kB / 331.6 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.196e-05/0.2558, allocations: 29.23 kB / 331.6 MB, free: 13.22 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.887e-05/0.2559, allocations: 55 kB / 331.7 MB, free: 13.17 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.2561, allocations: 95.28 kB / 331.8 MB, free: 13.1 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2561, allocations: 1.344 kB / 331.8 MB, free: 13.1 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002318/0.2564, allocations: 116.9 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2564, allocations: 5.875 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2564, allocations: 1.469 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2564, allocations: 1.406 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.2565, allocations: 19.92 kB / 331.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2565, allocations: 1.094 kB / 331.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.2566, allocations: 15.34 kB / 331.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2566, allocations: 7.344 kB / 331.9 MB, free: 13.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/0.2567, allocations: 118.7 kB / 332 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.73e-05/0.2568, allocations: 7.625 kB / 332.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.124e-05/0.2569, allocations: 14.2 kB / 332.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2569, allocations: 1.312 kB / 332.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2569, allocations: 1.156 kB / 332.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2569, allocations: 10.06 kB / 332.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.2573, allocations: 192.6 kB / 332.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2574, allocations: 1.156 kB / 332.3 MB, free: 12.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.2574, allocations: 19.33 kB / 332.3 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2574, allocations: 1.375 kB / 332.3 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2575, allocations: 2.094 kB / 332.3 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.2575, allocations: 1.438 kB / 332.3 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2575, allocations: 1.5 kB / 332.3 MB, free: 12.63 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.2579, allocations: 0.4994 MB / 332.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.2579, allocations: 87.25 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.2579, allocations: 2.125 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.2581, allocations: 7.5 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.2582, allocations: 16.14 kB / 332.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2582, allocations: 1.969 kB / 332.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.104e-05/0.2583, allocations: 91.67 kB / 333 MB, free: 11.96 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2583, allocations: 5.781 kB / 333 MB, free: 11.96 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003778/0.2587, allocations: 7.688 kB / 333 MB, free: 11.96 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 (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.0001/0.2588, allocations: 96.97 kB / 333.1 MB, free: 11.87 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.259, allocations: 75.52 kB / 333.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.259, allocations: 1.031 kB / 333.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.2591, allocations: 40.36 kB / 333.2 MB, free: 11.82 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.2596, allocations: 7.469 kB / 333.2 MB, free: 11.82 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.2601, allocations: 230.9 kB / 333.4 MB, free: 11.6 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.2604, allocations: 0.6982 MB / 334.1 MB, free: 10.89 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.2604, allocations: 6.172 kB / 334.2 MB, free: 10.89 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.2605, allocations: 9.656 kB / 334.2 MB, free: 10.88 MB / 270.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2605, allocations: 0 / 334.2 MB, free: 10.88 MB / 270.1 MB Notification: Performance of Templates: time 0.002682/0.2631, allocations: 455.7 kB / 334.6 MB, free: 10.65 MB / 270.1 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)