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.631/1.631, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.938e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07774, allocations: 38.78 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002094/0.0799, allocations: 1.258 MB / 268.1 MB, free: 15.85 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007627/0.0807, allocations: 363.8 kB / 268.5 MB, free: 15.49 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.08076, allocations: 4 kB / 268.5 MB, free: 15.48 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.08081, allocations: 7.922 kB / 268.5 MB, free: 15.48 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.0809, allocations: 15.97 kB / 268.5 MB, free: 15.46 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.08102, allocations: 11.98 kB / 268.5 MB, free: 15.45 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.08111, allocations: 27.91 kB / 268.6 MB, free: 15.42 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.08129, allocations: 51.81 kB / 268.6 MB, free: 15.37 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.08141, allocations: 15.98 kB / 268.6 MB, free: 15.36 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.08149, allocations: 19.86 kB / 268.7 MB, free: 15.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.704e-05/0.08152, allocations: 4 kB / 268.7 MB, free: 15.33 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.08154, allocations: 0 / 268.7 MB, free: 15.33 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.08157, allocations: 4 kB / 268.7 MB, free: 15.33 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.0816, allocations: 8 kB / 268.7 MB, free: 15.32 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 9.394e-05/0.08171, allocations: 43.89 kB / 268.7 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.08172, allocations: 3.938 kB / 268.7 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.08173, allocations: 0 / 268.7 MB, free: 15.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.08175, allocations: 0 / 268.7 MB, free: 15.27 MB / 234.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.000542/0.0823, allocations: 371.5 kB / 269.1 MB, free: 14.86 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.08235, allocations: 12.03 kB / 269.1 MB, free: 14.85 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.08241, allocations: 11.91 kB / 269.1 MB, free: 14.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.08255, allocations: 167 kB / 269.3 MB, free: 14.64 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.08259, allocations: 3.953 kB / 269.3 MB, free: 14.63 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.08262, allocations: 8 kB / 269.3 MB, free: 14.62 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.08296, allocations: 125.9 kB / 269.4 MB, free: 14.48 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.08299, allocations: 4 kB / 269.4 MB, free: 14.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.08301, allocations: 0 / 269.4 MB, free: 14.48 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.08303, allocations: 0 / 269.4 MB, free: 14.48 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.08336, allocations: 67.89 kB / 269.5 MB, free: 14.41 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008101/0.08418, allocations: 0.6458 MB / 270.1 MB, free: 13.7 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.08448, allocations: 124.9 kB / 270.2 MB, free: 13.53 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.08452, allocations: 4.125 kB / 270.2 MB, free: 13.53 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.08457, allocations: 38.5 kB / 270.3 MB, free: 13.48 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.08458, allocations: 3.938 kB / 270.3 MB, free: 13.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006908/0.08528, allocations: 137.4 kB / 270.4 MB, free: 13.34 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.08537, allocations: 154.8 kB / 270.6 MB, free: 13.15 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.08549, allocations: 120.9 kB / 270.7 MB, free: 13.02 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.08553, allocations: 25.7 kB / 270.7 MB, free: 12.99 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.08562, allocations: 162.7 kB / 270.9 MB, free: 12.83 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.08566, allocations: 19.75 kB / 270.9 MB, free: 12.81 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.08568, allocations: 0 / 270.9 MB, free: 12.81 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.08581, allocations: 322.8 kB / 271.2 MB, free: 12.49 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.08597, allocations: 23.98 kB / 271.2 MB, free: 12.46 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.08614, allocations: 60.22 kB / 271.3 MB, free: 12.39 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.08632, allocations: 31.98 kB / 271.3 MB, free: 12.36 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.08634, allocations: 0 / 271.3 MB, free: 12.36 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003856/0.08673, allocations: 101.6 kB / 271.4 MB, free: 12.25 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.08676, allocations: 9.875 kB / 271.4 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.08678, allocations: 0 / 271.4 MB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.0868, allocations: 4 kB / 271.4 MB, free: 12.24 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.08697, allocations: 15.98 kB / 271.4 MB, free: 12.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.08699, allocations: 4 kB / 271.4 MB, free: 12.22 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.08712, allocations: 15.89 kB / 271.5 MB, free: 12.21 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.08715, allocations: 4.094 kB / 271.5 MB, free: 12.2 MB / 234.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.0001064/0.08726, allocations: 121.8 kB / 271.6 MB, free: 12.07 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.08739, allocations: 4 kB / 271.6 MB, free: 12.07 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.08743, allocations: 15.47 kB / 271.6 MB, free: 12.05 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.08745, allocations: 4 kB / 271.6 MB, free: 12.05 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.08746, allocations: 0 / 271.6 MB, free: 12.05 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.08748, allocations: 0 / 271.6 MB, free: 12.05 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.08798, allocations: 193.4 kB / 271.8 MB, free: 11.81 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.088, allocations: 4.125 kB / 271.8 MB, free: 11.81 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.08813, allocations: 19.98 kB / 271.8 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.08815, allocations: 4 kB / 271.8 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.08817, allocations: 0 / 271.8 MB, free: 11.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.08818, allocations: 4 kB / 271.8 MB, free: 11.78 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.08819, allocations: 0 / 271.8 MB, free: 11.78 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/0.08878, allocations: 0.5424 MB / 272.4 MB, free: 11.2 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.08887, allocations: 100.9 kB / 272.5 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.08891, allocations: 3.953 kB / 272.5 MB, free: 11.07 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.08922, allocations: 11.98 kB / 272.5 MB, free: 11.06 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.08929, allocations: 8 kB / 272.5 MB, free: 11.05 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.08932, allocations: 7.938 kB / 272.5 MB, free: 11.05 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.246e-05/0.0894, allocations: 91.27 kB / 272.6 MB, free: 10.96 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.08941, allocations: 4 kB / 272.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004746/0.0899, allocations: 8 kB / 272.6 MB, free: 10.95 MB / 234.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.0001268/0.09003, allocations: 107.2 kB / 272.7 MB, free: 10.83 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.09042, allocations: 68.09 kB / 272.8 MB, free: 10.77 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.09044, allocations: 0 / 272.8 MB, free: 10.77 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.09064, allocations: 35.92 kB / 272.8 MB, free: 10.73 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.091, allocations: 7.984 kB / 272.8 MB, free: 10.72 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.0916, allocations: 270.6 kB / 273.1 MB, free: 10.41 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.09193, allocations: 0.6965 MB / 273.8 MB, free: 9.688 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.09199, allocations: 7.438 kB / 273.8 MB, free: 9.68 MB / 234.7 MB Notification: Performance of SimCode: time 7.32e-07/0.092, allocations: 0 / 273.8 MB, free: 9.68 MB / 234.7 MB Notification: Performance of Templates: time 0.002879/0.09489, allocations: 0.8549 MB / 274.6 MB, free: 8.828 MB / 234.7 MB