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.1_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.66/1.66, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.03e-05/5.057e-05, allocations: 6.812 kB / 225 MB, free: 2.727 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2124, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.3284, allocations: 66.39 MB / 330.1 MB, free: 7.375 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.3288, allocations: 67.97 kB / 330.2 MB, free: 7.309 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008075/0.3369, allocations: 1.441 MB / 331.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.147e-06/0.3369, allocations: 0 / 331.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.3369, allocations: 0 / 331.7 MB, free: 5.859 MB / 282.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.0006462/0.3376, allocations: 366.4 kB / 332 MB, free: 5.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.3377, allocations: 11.97 kB / 332 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.3378, allocations: 7.906 kB / 332 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.338, allocations: 178.9 kB / 332.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.3381, allocations: 15.88 kB / 332.2 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.3381, allocations: 4 kB / 332.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.3384, allocations: 97.94 kB / 332.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3385, allocations: 0 / 332.3 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.3385, allocations: 8 kB / 332.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3385, allocations: 0 / 332.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/0.3387, allocations: 35.92 kB / 332.4 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.3399, allocations: 0.6303 MB / 333 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.3402, allocations: 108.9 kB / 333.1 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3403, allocations: 44.42 kB / 333.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3404, allocations: 3.984 kB / 333.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.3405, allocations: 42.5 kB / 333.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 3.446e-06/0.3405, allocations: 0 / 333.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005453/0.341, allocations: 69.53 kB / 333.3 MB, free: 4.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.3412, allocations: 158.2 kB / 333.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.3414, allocations: 109 kB / 333.5 MB, free: 3.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3414, allocations: 29.86 kB / 333.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3416, allocations: 162.7 kB / 333.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.3417, allocations: 19.73 kB / 333.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-06/0.3417, allocations: 0 / 333.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3419, allocations: 322.8 kB / 334 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.342, allocations: 7.938 kB / 334 MB, free: 3.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3421, allocations: 40.3 kB / 334.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.3422, allocations: 19.98 kB / 334.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.424e-06/0.3423, allocations: 0 / 334.1 MB, free: 3.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000293/0.3426, allocations: 65.62 kB / 334.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.3426, allocations: 8 kB / 334.2 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.209e-06/0.3426, allocations: 8.094 kB / 334.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3427, allocations: 4 kB / 334.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.3429, allocations: 15.92 kB / 334.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.3429, allocations: 4 kB / 334.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3431, allocations: 11.98 kB / 334.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.3432, allocations: 0 / 334.2 MB, free: 2.957 MB / 282.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 0.0001327/0.3433, allocations: 112.9 kB / 334.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.3436, allocations: 11.91 kB / 334.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.3437, allocations: 15.61 kB / 334.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.167e-06/0.3437, allocations: 0 / 334.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.3437, allocations: 4 kB / 334.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-06/0.3437, allocations: 0 / 334.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009313/0.3447, allocations: 189.5 kB / 334.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-06/0.3447, allocations: 0 / 334.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.3449, allocations: 24.05 kB / 334.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.466e-06/0.3449, allocations: 0 / 334.6 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.345, allocations: 8 kB / 334.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.842e-06/0.345, allocations: 0 / 334.6 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/0.345, allocations: 7.984 kB / 334.6 MB, free: 2.531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005828/0.3456, allocations: 0.5072 MB / 335.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.3458, allocations: 85.02 kB / 335.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.3458, allocations: 3.984 kB / 335.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006105/0.3465, allocations: 15.94 kB / 335.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.3466, allocations: 11.98 kB / 335.2 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3466, allocations: 8 kB / 335.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.3467, allocations: 91.27 kB / 335.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.061e-06/0.3467, allocations: 0 / 335.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00143/0.3482, allocations: 12 kB / 335.3 MB, free: 1.738 MB / 282.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.0003016/0.3486, allocations: 103.2 kB / 335.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.349, allocations: 35.88 kB / 335.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.753e-06/0.349, allocations: 320 / 335.5 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.3492, allocations: 23.94 kB / 335.5 MB, free: 1.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3503, allocations: 4 kB / 335.5 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3514, allocations: 152.9 kB / 335.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.3524, allocations: 0.6968 MB / 336.3 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3526, allocations: 11.44 kB / 336.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of SimCode: time 4.43e-06/0.3526, allocations: 0 / 336.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of Templates: time 0.004042/0.3567, allocations: 0.8487 MB / 337.2 MB, free: 15.79 MB / 298.7 MB