Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 2.19/2.19, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.332e-05, allocations: 0 / 292.6 MB, free: 8.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.09161, allocations: 50.42 MB / 343.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3565/0.4482, allocations: 77.12 MB / 420.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4484, allocations: 66.16 kB / 420.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005594/0.454, allocations: 1.504 MB / 421.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.568e-06/0.4541, allocations: 4 kB / 421.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.861e-06/0.4541, allocations: 0 / 421.8 MB, free: 15.77 MB / 346.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.0004788/0.4546, allocations: 364.7 kB / 422.1 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4546, allocations: 12.03 kB / 422.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4547, allocations: 11.86 kB / 422.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.4549, allocations: 175 kB / 422.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.4549, allocations: 0 / 422.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.4549, allocations: 7 kB / 422.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.4551, allocations: 100.7 kB / 422.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.993e-06/0.4551, allocations: 0 / 422.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4552, allocations: 3.438 kB / 422.4 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4552, allocations: 11.95 kB / 422.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.4553, allocations: 30.48 kB / 422.5 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.4562, allocations: 0.6419 MB / 423.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.4563, allocations: 95.14 kB / 423.2 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.4564, allocations: 42.73 kB / 423.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4565, allocations: 4 kB / 423.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.4565, allocations: 37.69 kB / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.4565, allocations: 0 / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003286/0.4569, allocations: 80.08 kB / 423.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.457, allocations: 158.2 kB / 423.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4571, allocations: 102.8 kB / 423.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.4571, allocations: 28.83 kB / 423.6 MB, free: 13.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.4572, allocations: 99.77 kB / 423.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.4573, allocations: 21.94 kB / 423.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-06/0.4573, allocations: 160 / 423.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4574, allocations: 322.7 kB / 424.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.4575, allocations: 11.19 kB / 424.1 MB, free: 13.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.4576, allocations: 38.86 kB / 424.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.781e-05/0.4577, allocations: 23.05 kB / 424.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.997e-06/0.4577, allocations: 0 / 424.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000178/0.4579, allocations: 82.61 kB / 424.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.4579, allocations: 4 kB / 424.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.272e-06/0.4579, allocations: 0 / 424.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4579, allocations: 4 kB / 424.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.4581, allocations: 12.14 kB / 424.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.01e-06/0.4581, allocations: 8 kB / 424.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.565e-05/0.4582, allocations: 8 kB / 424.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4582, allocations: 0 / 424.3 MB, free: 13.07 MB / 346.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 9.402e-05/0.4583, allocations: 112.2 kB / 424.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.4585, allocations: 15.84 kB / 424.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.4585, allocations: 10.59 kB / 424.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.185e-06/0.4585, allocations: 0 / 424.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.137e-06/0.4586, allocations: 4 kB / 424.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.477e-06/0.4586, allocations: 4 kB / 424.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.4592, allocations: 182.1 kB / 424.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.127e-06/0.4592, allocations: 128 / 424.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.4593, allocations: 19.98 kB / 424.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.177e-06/0.4593, allocations: 3.953 kB / 424.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4593, allocations: 7.438 kB / 424.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.087e-06/0.4593, allocations: 0 / 424.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.903e-06/0.4594, allocations: 0 / 424.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.4598, allocations: 0.5038 MB / 425.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.449e-05/0.4599, allocations: 89 kB / 425.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.4599, allocations: 4 kB / 425.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4602, allocations: 15.44 kB / 425.2 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.4603, allocations: 11.94 kB / 425.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.4603, allocations: 0 / 425.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.868e-05/0.4604, allocations: 95.12 kB / 425.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.4604, allocations: 0 / 425.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005267/0.461, allocations: 15.31 kB / 425.3 MB, free: 11.91 MB / 346.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.0001442/0.4611, allocations: 107.1 kB / 425.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.4613, allocations: 34.06 kB / 425.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4613, allocations: 0 / 425.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.4614, allocations: 19.31 kB / 425.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.4618, allocations: 7.172 kB / 425.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.4622, allocations: 129.5 kB / 425.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.4626, allocations: 0.6965 MB / 426.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.292e-05/0.4627, allocations: 3.938 kB / 426.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4627, allocations: 11.44 kB / 426.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.557e-06/0.4627, allocations: 0 / 426.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of Templates: time 0.002919/0.4657, allocations: 453.7 kB / 426.8 MB, free: 10.44 MB / 346.7 MB