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_trunk_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 2.35/2.35, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.053e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 50.41 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002175/0.111, allocations: 1.29 MB / 346.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000736/0.1117, allocations: 339.8 kB / 346.6 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.1118, allocations: 4 kB / 346.6 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.1119, allocations: 7.875 kB / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.112, allocations: 7.984 kB / 346.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.1121, allocations: 15.97 kB / 346.6 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1122, allocations: 35.89 kB / 346.7 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1124, allocations: 31.91 kB / 346.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.1125, allocations: 15.97 kB / 346.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.1126, allocations: 27.86 kB / 346.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.1127, allocations: 0 / 346.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1127, allocations: 4 kB / 346.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.1127, allocations: 7.984 kB / 346.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.1127, allocations: 4 kB / 346.7 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.127e-05/0.1128, allocations: 39.91 kB / 346.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1129, allocations: 0 / 346.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1129, allocations: 0 / 346.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1129, allocations: 0 / 346.8 MB, free: 7.125 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.0005491/0.1134, allocations: 367.5 kB / 347.1 MB, free: 6.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1135, allocations: 8.031 kB / 347.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.1135, allocations: 11.86 kB / 347.2 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1137, allocations: 178.8 kB / 347.3 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.1137, allocations: 8 kB / 347.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1138, allocations: 4 kB / 347.3 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.1141, allocations: 113.9 kB / 347.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1141, allocations: 4 kB / 347.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.1142, allocations: 7.938 kB / 347.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1142, allocations: 0 / 347.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.1145, allocations: 71.84 kB / 347.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/0.1154, allocations: 0.6419 MB / 348.2 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.1156, allocations: 128.9 kB / 348.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1157, allocations: 0 / 348.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.1157, allocations: 38.69 kB / 348.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.1157, allocations: 0 / 348.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007165/0.1165, allocations: 138 kB / 348.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/0.1166, allocations: 158.2 kB / 348.6 MB, free: 5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1167, allocations: 112.9 kB / 348.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1167, allocations: 29.7 kB / 348.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.1168, allocations: 166.5 kB / 348.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.1169, allocations: 11.75 kB / 348.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.1169, allocations: 4 kB / 349 MB, free: 4.668 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.117, allocations: 318.9 kB / 349.3 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1172, allocations: 27.97 kB / 349.3 MB, free: 4.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.1173, allocations: 48.28 kB / 349.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.1175, allocations: 35.92 kB / 349.4 MB, free: 4.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1175, allocations: 0 / 349.4 MB, free: 4.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003929/0.1179, allocations: 109.5 kB / 349.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.118, allocations: 4 kB / 349.5 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.118, allocations: 4 kB / 349.5 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.118, allocations: 0 / 349.5 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1182, allocations: 20.08 kB / 349.5 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1182, allocations: 4 kB / 349.5 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.1183, allocations: 11.98 kB / 349.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.1184, allocations: 4 kB / 349.5 MB, free: 4.062 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 (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.0001102/0.1185, allocations: 113.8 kB / 349.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1186, allocations: 15.86 kB / 349.7 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.1187, allocations: 15.52 kB / 349.7 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1187, allocations: 0 / 349.7 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1187, allocations: 4 kB / 349.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1187, allocations: 4.125 kB / 349.7 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.1192, allocations: 189.6 kB / 349.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1192, allocations: 0 / 349.9 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.1193, allocations: 19.92 kB / 349.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1194, allocations: 0 / 349.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1194, allocations: 7.953 kB / 349.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1194, allocations: 3.938 kB / 349.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1194, allocations: 3.984 kB / 349.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006023/0.12, allocations: 0.5423 MB / 350.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.355e-05/0.1201, allocations: 85.09 kB / 350.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1201, allocations: 0 / 350.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.1204, allocations: 11.98 kB / 350.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.1205, allocations: 19.94 kB / 350.6 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1205, allocations: 4 kB / 350.6 MB, free: 2.91 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.085e-05/0.1206, allocations: 95.64 kB / 350.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1206, allocations: 0 / 350.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004772/0.1211, allocations: 15.84 kB / 350.7 MB, free: 2.801 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 (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.0001283/0.1212, allocations: 95.25 kB / 350.8 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.1216, allocations: 71.91 kB / 350.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1216, allocations: 0 / 350.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.1218, allocations: 44.47 kB / 350.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1222, allocations: 4 kB / 350.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.1228, allocations: 269.6 kB / 351.1 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1231, allocations: 0.6926 MB / 351.8 MB, free: 1.555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.1232, allocations: 11.44 kB / 351.8 MB, free: 1.543 MB / 282.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1232, allocations: 0 / 351.8 MB, free: 1.543 MB / 282.7 MB Notification: Performance of Templates: time 0.002913/0.1261, allocations: 0.856 MB / 352.7 MB, free: 0.6836 MB / 282.7 MB