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.001504/0.001504, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.561/1.561, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001266/0.001267, allocations: 55.86 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 46.63 MB / 325.3 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00317/0.3406, allocations: 1.582 MB / 326.9 MB, free: 0.6328 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007257/0.3413, allocations: 473 kB / 327.3 MB, free: 272 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.3414, allocations: 0 / 327.3 MB, free: 272 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 4.183e-05/0.3414, allocations: 7.922 kB / 327.4 MB, free: 264 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 9.778e-05/0.3415, allocations: 15.47 kB / 327.4 MB, free: 252 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.3417, allocations: 23.45 kB / 327.4 MB, free: 232 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3418, allocations: 57.53 kB / 327.4 MB, free: 196 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.3421, allocations: 44.83 kB / 327.5 MB, free: 172 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3422, allocations: 33.36 kB / 327.5 MB, free: 148 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.554e-05/0.3423, allocations: 31.03 kB / 327.6 MB, free: 124 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.3423, allocations: 4.5 kB / 327.6 MB, free: 124 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.856e-05/0.3423, allocations: 5.812 kB / 327.6 MB, free: 124 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.3424, allocations: 9.203 kB / 327.6 MB, free: 116 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.3424, allocations: 38.95 kB / 327.6 MB, free: 84 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.3426, allocations: 62.77 kB / 327.7 MB, free: 36 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3426, allocations: 1.094 kB / 327.7 MB, free: 36 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3426, allocations: 0 / 327.7 MB, free: 36 kB / 254.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3426, allocations: 0 / 327.7 MB, free: 36 kB / 254.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.0006321/0.3432, allocations: 378.4 kB / 328 MB, free: 15.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3433, allocations: 9.312 kB / 328.1 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.3434, allocations: 8.156 kB / 328.1 MB, free: 15.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3435, allocations: 184.5 kB / 328.2 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.3436, allocations: 11.47 kB / 328.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3436, allocations: 3.531 kB / 328.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.3439, allocations: 112.2 kB / 328.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.3439, allocations: 3.938 kB / 328.4 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3439, allocations: 1.25 kB / 328.4 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.3439, allocations: 6.812 kB / 328.4 MB, free: 15.31 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.3442, allocations: 57.95 kB / 328.4 MB, free: 15.28 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.3449, allocations: 0.6382 MB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3451, allocations: 117 kB / 329.2 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3453, allocations: 52.69 kB / 329.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3453, allocations: 6.359 kB / 329.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3453, allocations: 36.97 kB / 329.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3453, allocations: 0 / 329.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004971/0.3458, allocations: 125.6 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.346, allocations: 160.3 kB / 329.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3461, allocations: 127.2 kB / 329.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3461, allocations: 27.42 kB / 329.7 MB, free: 13.95 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.3462, allocations: 94.58 kB / 329.8 MB, free: 13.86 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3462, allocations: 14.59 kB / 329.8 MB, free: 13.85 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.3463, allocations: 27.58 kB / 329.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3464, allocations: 316.2 kB / 330.2 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.299e-05/0.3465, allocations: 27.97 kB / 330.2 MB, free: 13.49 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.3466, allocations: 50.25 kB / 330.2 MB, free: 13.44 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3468, allocations: 90.42 kB / 330.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3468, allocations: 0 / 330.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002196/0.347, allocations: 92.41 kB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3471, allocations: 5.688 kB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3471, allocations: 1.75 kB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3471, allocations: 5.5 kB / 330.4 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3472, allocations: 17.39 kB / 330.4 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3472, allocations: 5.328 kB / 330.4 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.3473, allocations: 17.61 kB / 330.5 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3473, allocations: 2.25 kB / 330.5 MB, free: 13.28 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.106e-05/0.3474, allocations: 115.3 kB / 330.6 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.3475, allocations: 7.469 kB / 330.6 MB, free: 13.16 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.3476, allocations: 17.61 kB / 330.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3476, allocations: 2.188 kB / 330.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3476, allocations: 1.156 kB / 330.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3476, allocations: 5.156 kB / 330.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.348, allocations: 189.6 kB / 330.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.348, allocations: 1.281 kB / 330.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.3481, allocations: 16.27 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3481, allocations: 2 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3481, allocations: 2.281 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3481, allocations: 1.125 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3481, allocations: 2.219 kB / 330.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.3486, allocations: 497.2 kB / 331.3 MB, free: 12.44 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.3486, allocations: 88.14 kB / 331.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.3487, allocations: 6.188 kB / 331.4 MB, free: 12.34 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.3489, allocations: 8.609 kB / 331.4 MB, free: 12.33 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.3489, allocations: 11.36 kB / 331.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.349, allocations: 3.531 kB / 331.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.349, allocations: 91.25 kB / 331.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.349, allocations: 0 / 331.5 MB, free: 12.24 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003721/0.3494, allocations: 13.34 kB / 331.5 MB, free: 12.24 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.0001516/0.3496, allocations: 100.5 kB / 331.6 MB, free: 12.14 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.3498, allocations: 67.5 kB / 331.7 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3498, allocations: 3.938 kB / 331.7 MB, free: 12.11 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3499, allocations: 36.72 kB / 331.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.3504, allocations: 7.312 kB / 331.7 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.3509, allocations: 198.3 kB / 331.9 MB, free: 11.9 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3512, allocations: 0.6904 MB / 332.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.3513, allocations: 1.031 kB / 332.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.3513, allocations: 10.84 kB / 332.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of SimCode: time 2.134e-06/0.3513, allocations: 0 / 332.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of Templates: time 0.002954/0.3543, allocations: 0.5554 MB / 333.2 MB, free: 10.9 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)