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.892/1.892, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.95e-05, allocations: 0 / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2444, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3526, allocations: 71.02 MB / 365.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.3529, allocations: 63.97 kB / 365.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00526/0.3582, allocations: 1.434 MB / 366.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.035e-06/0.3582, allocations: 0 / 366.6 MB, free: 9.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.609e-06/0.3582, allocations: 0 / 366.6 MB, free: 9.473 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.0004735/0.3587, allocations: 358.4 kB / 367 MB, free: 9.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3588, allocations: 15.97 kB / 367 MB, free: 9.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.3588, allocations: 7.906 kB / 367 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.359, allocations: 178.9 kB / 367.2 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.359, allocations: 4 kB / 367.2 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3591, allocations: 4 kB / 367.2 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001052/0.3592, allocations: 20 kB / 367.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3594, allocations: 97.91 kB / 367.3 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.579e-06/0.3594, allocations: 4 kB / 367.3 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3594, allocations: 4 kB / 367.3 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.956e-06/0.3594, allocations: 3.984 kB / 367.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007281/0.3602, allocations: 0.6074 MB / 367.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.3603, allocations: 97.02 kB / 368 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.3604, allocations: 48.36 kB / 368.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3605, allocations: 3.984 kB / 368.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3605, allocations: 34.56 kB / 368.1 MB, free: 7.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.33e-06/0.3605, allocations: 4 kB / 368.1 MB, free: 7.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003324/0.3609, allocations: 69.47 kB / 368.2 MB, free: 7.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.361, allocations: 162.2 kB / 368.3 MB, free: 7.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3611, allocations: 105 kB / 368.4 MB, free: 7.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3611, allocations: 29.7 kB / 368.5 MB, free: 7.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.3612, allocations: 158.6 kB / 368.6 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.3613, allocations: 19.75 kB / 368.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-06/0.3613, allocations: 0 / 368.6 MB, free: 7.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3615, allocations: 318.8 kB / 368.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/0.3615, allocations: 8 kB / 368.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.3616, allocations: 40.3 kB / 369 MB, free: 6.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.956e-05/0.3617, allocations: 19.94 kB / 369 MB, free: 6.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-06/0.3617, allocations: 0 / 369 MB, free: 6.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000172/0.3618, allocations: 61.62 kB / 369.1 MB, free: 6.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3619, allocations: 4 kB / 369.1 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-06/0.3619, allocations: 0 / 369.1 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.3619, allocations: 7.938 kB / 369.1 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.3621, allocations: 24.14 kB / 369.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.233e-06/0.3621, allocations: 0 / 369.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3622, allocations: 23.78 kB / 369.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3622, allocations: 4 kB / 369.1 MB, free: 6.648 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 9.477e-05/0.3624, allocations: 108.7 kB / 369.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3625, allocations: 4 kB / 369.2 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.3625, allocations: 16.67 kB / 369.3 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.46e-06/0.3626, allocations: 4 kB / 369.3 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3626, allocations: 4 kB / 369.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-06/0.3626, allocations: 0 / 369.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.3631, allocations: 158.2 kB / 369.4 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.195e-06/0.3631, allocations: 3.984 kB / 369.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.3632, allocations: 12 kB / 369.4 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.217e-06/0.3632, allocations: 4 kB / 369.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3632, allocations: 0 / 369.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.892e-06/0.3632, allocations: 0 / 369.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.3633, allocations: 11.92 kB / 369.4 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.3637, allocations: 0.4994 MB / 369.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.3637, allocations: 88.97 kB / 370 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.3638, allocations: 4 kB / 370 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.3641, allocations: 7.984 kB / 370 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.3642, allocations: 15.92 kB / 370.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3642, allocations: 4 kB / 370.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.985e-05/0.3643, allocations: 91.22 kB / 370.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.3643, allocations: 4 kB / 370.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005123/0.3648, allocations: 8 kB / 370.2 MB, free: 5.504 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 0.0001225/0.3649, allocations: 95.25 kB / 370.3 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.3651, allocations: 35.92 kB / 370.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.512e-06/0.3651, allocations: 0 / 370.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.562e-05/0.3652, allocations: 19.94 kB / 370.3 MB, free: 5.348 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3656, allocations: 14.61 kB / 370.3 MB, free: 5.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.366, allocations: 146.5 kB / 370.5 MB, free: 5.152 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.3664, allocations: 0.6924 MB / 371.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.3665, allocations: 7.438 kB / 371.2 MB, free: 4.43 MB / 314.7 MB Notification: Performance of SimCode: time 1.386e-06/0.3665, allocations: 0 / 371.2 MB, free: 4.43 MB / 314.7 MB Notification: Performance of Templates: time 0.002505/0.369, allocations: 0.8488 MB / 372 MB, free: 3.578 MB / 314.7 MB