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_3.2.2_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.875/1.875, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.006e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07774/0.07779, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3199/0.3978, allocations: 71.69 MB / 371.5 MB, free: 21.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.398, allocations: 65.28 kB / 371.6 MB, free: 21.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005459/0.4035, allocations: 1.435 MB / 373 MB, free: 21.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.667e-06/0.4035, allocations: 0 / 373 MB, free: 21.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.111e-06/0.4036, allocations: 1.219 kB / 373 MB, free: 21.4 MB / 314.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.0003479/0.4039, allocations: 363.2 kB / 373.4 MB, free: 21.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.404, allocations: 9.031 kB / 373.4 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.404, allocations: 9.094 kB / 373.4 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/0.4041, allocations: 180.5 kB / 373.6 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.4042, allocations: 2.312 kB / 373.6 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.4042, allocations: 13.28 kB / 373.6 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.4044, allocations: 100.2 kB / 373.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.4044, allocations: 1.312 kB / 373.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.4044, allocations: 3.375 kB / 373.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-06/0.4044, allocations: 6.344 kB / 373.7 MB, free: 20.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.4046, allocations: 30.33 kB / 373.7 MB, free: 20.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.4052, allocations: 0.6438 MB / 374.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.4053, allocations: 97.31 kB / 374.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.4054, allocations: 44.09 kB / 374.5 MB, free: 19.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.4054, allocations: 10.12 kB / 374.5 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.4054, allocations: 40.44 kB / 374.6 MB, free: 19.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.343e-06/0.4055, allocations: 0 / 374.6 MB, free: 19.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003155/0.4058, allocations: 73.8 kB / 374.6 MB, free: 19.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.4058, allocations: 161.8 kB / 374.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.4059, allocations: 107.6 kB / 374.9 MB, free: 19.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.406, allocations: 29.64 kB / 374.9 MB, free: 19.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.406, allocations: 166.4 kB / 375.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.406, allocations: 13.25 kB / 375.1 MB, free: 19.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.932e-06/0.4061, allocations: 5.438 kB / 375.1 MB, free: 19.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.4061, allocations: 311.4 kB / 375.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.4062, allocations: 9.984 kB / 375.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.4062, allocations: 41.62 kB / 375.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/0.4063, allocations: 12.41 kB / 375.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-06/0.4063, allocations: 0 / 375.5 MB, free: 19.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001635/0.4065, allocations: 74.02 kB / 375.6 MB, free: 19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.4065, allocations: 10.59 kB / 375.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.401e-06/0.4065, allocations: 2.031 kB / 375.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4066, allocations: 0.9375 kB / 375.6 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4067, allocations: 22.06 kB / 375.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4067, allocations: 2.578 kB / 375.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.4068, allocations: 18.2 kB / 375.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.4069, allocations: 6.469 kB / 375.6 MB, free: 18.98 MB / 314.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 5.398e-05/0.4069, allocations: 109.7 kB / 375.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4071, allocations: 3.406 kB / 375.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.4071, allocations: 10.72 kB / 375.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.4071, allocations: 2.219 kB / 375.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.676e-06/0.4071, allocations: 5.5 kB / 375.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4071, allocations: 6 kB / 375.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.4076, allocations: 179.8 kB / 375.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.836e-06/0.4076, allocations: 1.312 kB / 375.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.4077, allocations: 26.55 kB / 376 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.853e-06/0.4078, allocations: 1.438 kB / 376 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.4078, allocations: 2.891 kB / 376 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.936e-06/0.4078, allocations: 1.469 kB / 376 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.027e-06/0.4078, allocations: 1.375 kB / 376 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.4081, allocations: 0.5107 MB / 376.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.4081, allocations: 84.36 kB / 376.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.4081, allocations: 6.5 kB / 376.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.4085, allocations: 13.95 kB / 376.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.4085, allocations: 10.91 kB / 376.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.4086, allocations: 3.312 kB / 376.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.4086, allocations: 89.27 kB / 376.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4086, allocations: 0 / 376.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00052/0.4092, allocations: 13.19 kB / 376.7 MB, free: 17.98 MB / 314.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 9.481e-05/0.4093, allocations: 102.8 kB / 376.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.4094, allocations: 36.2 kB / 376.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4094, allocations: 0.9062 kB / 376.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.4095, allocations: 22.81 kB / 376.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.4099, allocations: 8.094 kB / 376.9 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.4103, allocations: 162.5 kB / 377 MB, free: 17.72 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.4105, allocations: 0.6939 MB / 377.7 MB, free: 17.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.4105, allocations: 10.25 kB / 377.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.66e-06/0.4105, allocations: 0 / 377.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of Templates: time 0.002601/0.4132, allocations: 0.8452 MB / 378.6 MB, free: 16.97 MB / 314.7 MB