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_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.732/1.732, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.21e-05, allocations: 4 kB / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2103, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3112, allocations: 66.4 MB / 330.2 MB, free: 7.332 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.3115, allocations: 63.97 kB / 330.2 MB, free: 7.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007912/0.3194, allocations: 1.442 MB / 331.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.719e-06/0.3195, allocations: 0 / 331.7 MB, free: 5.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.34e-06/0.3195, allocations: 0 / 331.7 MB, free: 5.82 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.0006812/0.3202, allocations: 366.4 kB / 332 MB, free: 5.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.3203, allocations: 8.031 kB / 332 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.3204, allocations: 7.906 kB / 332.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.3206, allocations: 174.9 kB / 332.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.3207, allocations: 7.938 kB / 332.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.3207, allocations: 8 kB / 332.2 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3211, allocations: 101.9 kB / 332.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3211, allocations: 0 / 332.3 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.3211, allocations: 4 kB / 332.3 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.846e-06/0.3212, allocations: 4 kB / 332.3 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.3214, allocations: 35.94 kB / 332.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3225, allocations: 0.6381 MB / 333 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.3228, allocations: 101 kB / 333.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3229, allocations: 48.36 kB / 333.2 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.323, allocations: 3.984 kB / 333.2 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.3231, allocations: 42.55 kB / 333.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 4.172e-06/0.3231, allocations: 0 / 333.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005712/0.3237, allocations: 77.47 kB / 333.3 MB, free: 3.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.3238, allocations: 158.2 kB / 333.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.324, allocations: 109 kB / 333.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.3241, allocations: 25.7 kB / 333.6 MB, free: 3.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3242, allocations: 99.58 kB / 333.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.3243, allocations: 23.73 kB / 333.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-06/0.3243, allocations: 160 / 333.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3245, allocations: 322.8 kB / 334 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.3246, allocations: 12 kB / 334 MB, free: 3.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3248, allocations: 36.3 kB / 334.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.3249, allocations: 23.92 kB / 334.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-06/0.3249, allocations: 0 / 334.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003148/0.3252, allocations: 69.53 kB / 334.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.3253, allocations: 8 kB / 334.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.699e-06/0.3253, allocations: 3.938 kB / 334.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3253, allocations: 0 / 334.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.3256, allocations: 16.14 kB / 334.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.3256, allocations: 11.94 kB / 334.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.3258, allocations: 11.98 kB / 334.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3258, allocations: 0 / 334.2 MB, free: 2.969 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.0001345/0.326, allocations: 112.9 kB / 334.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.3262, allocations: 4 kB / 334.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.3263, allocations: 15.61 kB / 334.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.115e-06/0.3263, allocations: 0 / 334.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.375e-06/0.3264, allocations: 4 kB / 334.3 MB, free: 2.824 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3264, allocations: 4 kB / 334.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000961/0.3274, allocations: 189.5 kB / 334.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.474e-06/0.3274, allocations: 3.984 kB / 334.5 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.3276, allocations: 12 kB / 334.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.039e-06/0.3276, allocations: 0 / 334.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3276, allocations: 4 kB / 334.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.3277, allocations: 7.922 kB / 334.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.361e-06/0.3277, allocations: 0 / 334.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.3283, allocations: 0.5034 MB / 335.1 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3285, allocations: 85.02 kB / 335.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.3285, allocations: 8.172 kB / 335.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.3292, allocations: 19.95 kB / 335.2 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3293, allocations: 15.86 kB / 335.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.3294, allocations: 4 kB / 335.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.3295, allocations: 91.27 kB / 335.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.254e-06/0.3295, allocations: 0 / 335.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001036/0.3306, allocations: 16 kB / 335.3 MB, free: 1.758 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.0001957/0.3308, allocations: 99.19 kB / 335.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3311, allocations: 39.88 kB / 335.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3311, allocations: 0 / 335.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3313, allocations: 19.94 kB / 335.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.332, allocations: 8 kB / 335.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.3326, allocations: 117.5 kB / 335.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.3332, allocations: 0.7004 MB / 336.3 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.687e-05/0.3333, allocations: 4 kB / 336.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.3334, allocations: 7.438 kB / 336.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of SimCode: time 2.535e-06/0.3334, allocations: 4 kB / 336.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of Templates: time 0.004705/0.3381, allocations: 452.7 kB / 336.7 MB, free: 252 kB / 282.7 MB