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 2.252/2.252, allocations: 194.9 MB / 211.2 MB, free: 8.059 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.509e-05, allocations: 11.84 kB / 258.8 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4062, allocations: 44.51 MB / 303.3 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002404/0.4087, allocations: 1.262 MB / 304.5 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.4096, allocations: 378 kB / 304.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.4097, allocations: 3.781 kB / 304.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.4097, allocations: 4.844 kB / 304.9 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.4098, allocations: 13.09 kB / 304.9 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.41, allocations: 13.89 kB / 305 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.4101, allocations: 30.7 kB / 305 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.4103, allocations: 29.98 kB / 305 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.4104, allocations: 23.62 kB / 305 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.4105, allocations: 22.52 kB / 305.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.4105, allocations: 1.188 kB / 305.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.4105, allocations: 1.875 kB / 305.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.4106, allocations: 9.266 kB / 305.1 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.4106, allocations: 11.69 kB / 305.1 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.349e-05/0.4107, allocations: 32.61 kB / 305.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4107, allocations: 1.25 kB / 305.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4107, allocations: 0 / 305.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4108, allocations: 0 / 305.1 MB, free: 11.2 MB / 250.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.0005979/0.4114, allocations: 366.8 kB / 305.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.4114, allocations: 12.91 kB / 305.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.4115, allocations: 12.34 kB / 305.5 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.4117, allocations: 179.6 kB / 305.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.4117, allocations: 5.438 kB / 305.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.4117, allocations: 4.375 kB / 305.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.4121, allocations: 121.9 kB / 305.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4121, allocations: 0 / 305.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4121, allocations: 1.438 kB / 305.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.4122, allocations: 2.031 kB / 305.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.4125, allocations: 67.98 kB / 305.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.4134, allocations: 0.6454 MB / 306.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.4137, allocations: 116.4 kB / 306.6 MB, free: 9.652 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.4138, allocations: 5.219 kB / 306.6 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4138, allocations: 41.23 kB / 306.7 MB, free: 9.602 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.4138, allocations: 0 / 306.7 MB, free: 9.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007029/0.4145, allocations: 142.5 kB / 306.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/0.4147, allocations: 161.1 kB / 307 MB, free: 9.328 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4148, allocations: 113 kB / 307.1 MB, free: 9.223 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.4148, allocations: 26.92 kB / 307.1 MB, free: 9.191 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.4149, allocations: 168.9 kB / 307.3 MB, free: 9.027 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.415, allocations: 17 kB / 307.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.415, allocations: 1.188 kB / 307.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4151, allocations: 316 kB / 307.6 MB, free: 8.695 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.4153, allocations: 24.98 kB / 307.6 MB, free: 8.688 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.4155, allocations: 58.3 kB / 307.7 MB, free: 8.633 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.4156, allocations: 35.08 kB / 307.7 MB, free: 8.617 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4157, allocations: 0 / 307.7 MB, free: 8.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004007/0.4161, allocations: 109.3 kB / 307.8 MB, free: 8.551 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4161, allocations: 4.594 kB / 307.8 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4161, allocations: 5.172 kB / 307.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4162, allocations: 6.422 kB / 307.8 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.4163, allocations: 18.48 kB / 307.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4164, allocations: 2.438 kB / 307.9 MB, free: 8.535 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4165, allocations: 14.84 kB / 307.9 MB, free: 8.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4165, allocations: 7.25 kB / 307.9 MB, free: 8.523 MB / 250.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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * 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.0001264/0.4167, allocations: 122 kB / 308 MB, free: 8.398 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.4168, allocations: 8.219 kB / 308 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.4168, allocations: 9.719 kB / 308 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4169, allocations: 2.469 kB / 308 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4169, allocations: 4.766 kB / 308 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4169, allocations: 1.406 kB / 308 MB, free: 8.379 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.4174, allocations: 180.8 kB / 308.2 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4175, allocations: 1.344 kB / 308.2 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.4176, allocations: 23.08 kB / 308.2 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4176, allocations: 2.281 kB / 308.2 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4176, allocations: 6.219 kB / 308.2 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4177, allocations: 1.219 kB / 308.2 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4177, allocations: 1.156 kB / 308.2 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.4183, allocations: 0.5367 MB / 308.8 MB, free: 7.617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.4184, allocations: 88.66 kB / 308.9 MB, free: 7.516 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.4184, allocations: 6.25 kB / 308.9 MB, free: 7.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.4187, allocations: 10.8 kB / 308.9 MB, free: 7.508 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.4188, allocations: 4.812 kB / 308.9 MB, free: 7.508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4188, allocations: 6.188 kB / 308.9 MB, free: 7.504 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.525e-05/0.4189, allocations: 91.17 kB / 309 MB, free: 7.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4189, allocations: 4 kB / 309 MB, free: 7.418 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.4194, allocations: 13.88 kB / 309 MB, free: 7.414 MB / 250.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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * 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.0001411/0.4196, allocations: 99.22 kB / 309.1 MB, free: 7.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003845/0.42, allocations: 74.45 kB / 309.2 MB, free: 7.289 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.42, allocations: 0.9688 kB / 309.2 MB, free: 7.289 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.4202, allocations: 43.36 kB / 309.2 MB, free: 7.262 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.4205, allocations: 3.953 kB / 309.2 MB, free: 7.258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.4212, allocations: 262 kB / 309.5 MB, free: 6.965 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.4216, allocations: 0.7004 MB / 310.2 MB, free: 6.238 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.4216, allocations: 11.38 kB / 310.2 MB, free: 6.227 MB / 250.7 MB Notification: Performance of SimCode: time 1.001e-06/0.4216, allocations: 0 / 310.2 MB, free: 6.227 MB / 250.7 MB Notification: Performance of Templates: time 0.002922/0.4246, allocations: 0.8553 MB / 311 MB, free: 5.375 MB / 250.7 MB