Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.991e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09092, allocations: 50.41 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.4921, allocations: 77.17 MB / 419.7 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4924, allocations: 66.47 kB / 419.8 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005594/0.498, allocations: 1.504 MB / 421.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.717e-06/0.498, allocations: 0 / 421.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.3e-06/0.498, allocations: 0 / 421.3 MB, free: 15.55 MB / 346.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.0004485/0.4985, allocations: 357.6 kB / 421.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4985, allocations: 11.97 kB / 421.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.4986, allocations: 19.11 kB / 421.7 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.4988, allocations: 174.8 kB / 421.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.4988, allocations: 8 kB / 421.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.4988, allocations: 6.875 kB / 421.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.499, allocations: 100.8 kB / 422 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.694e-06/0.4991, allocations: 0 / 422 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4991, allocations: 7.375 kB / 422 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.247e-06/0.4991, allocations: 7.953 kB / 422 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.4992, allocations: 30.81 kB / 422 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/0.5, allocations: 0.6367 MB / 422.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.5002, allocations: 103.5 kB / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.731e-05/0.5003, allocations: 42.67 kB / 422.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.5004, allocations: 0 / 422.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.5004, allocations: 41.5 kB / 422.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.17e-06/0.5004, allocations: 7.938 kB / 422.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003225/0.5008, allocations: 68.22 kB / 422.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.886e-05/0.5009, allocations: 158.2 kB / 423 MB, free: 13.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.501, allocations: 106.9 kB / 423.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.501, allocations: 32.89 kB / 423.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.5011, allocations: 157.8 kB / 423.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.5012, allocations: 31.02 kB / 423.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-06/0.5012, allocations: 0 / 423.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5014, allocations: 310.8 kB / 423.7 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.412e-05/0.5014, allocations: 11.38 kB / 423.7 MB, free: 12.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.291e-05/0.5015, allocations: 38.3 kB / 423.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.578e-05/0.5016, allocations: 18.73 kB / 423.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.944e-06/0.5016, allocations: 0 / 423.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001793/0.5018, allocations: 75.83 kB / 423.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.5018, allocations: 4 kB / 423.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.626e-06/0.5018, allocations: 4 kB / 423.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5018, allocations: 0 / 423.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.502, allocations: 20.14 kB / 423.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.99e-06/0.502, allocations: 0 / 423.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.476e-05/0.5021, allocations: 11.91 kB / 423.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.5021, allocations: 7.984 kB / 423.9 MB, free: 12.78 MB / 346.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 8.964e-05/0.5022, allocations: 108.7 kB / 424 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.5024, allocations: 7.953 kB / 424 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.5024, allocations: 11.09 kB / 424 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-06/0.5024, allocations: 4 kB / 424 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.572e-06/0.5025, allocations: 4 kB / 424 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.291e-06/0.5025, allocations: 0 / 424 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.503, allocations: 184.2 kB / 424.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-06/0.503, allocations: 0 / 424.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5031, allocations: 18.67 kB / 424.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.5032, allocations: 7.953 kB / 424.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.974e-06/0.5032, allocations: 0 / 424.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.944e-06/0.5032, allocations: 0 / 424.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.338e-06/0.5032, allocations: 4.125 kB / 424.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.5036, allocations: 0.5174 MB / 424.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.5037, allocations: 85.02 kB / 424.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.5037, allocations: 0 / 424.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.504, allocations: 11.98 kB / 424.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.5041, allocations: 15.77 kB / 424.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.5041, allocations: 4 kB / 424.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.214e-05/0.5042, allocations: 91.69 kB / 424.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.5042, allocations: 4 kB / 424.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005177/0.5048, allocations: 15.62 kB / 424.9 MB, free: 11.63 MB / 346.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.0001234/0.5049, allocations: 103.1 kB / 425 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.505, allocations: 35.69 kB / 425.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.537e-06/0.5051, allocations: 0 / 425.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.151e-05/0.5051, allocations: 19.92 kB / 425.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.5055, allocations: 9.141 kB / 425.1 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.5059, allocations: 152.9 kB / 425.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.5063, allocations: 0.6926 MB / 425.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.5064, allocations: 11.44 kB / 426 MB, free: 10.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.33e-06/0.5064, allocations: 0 / 426 MB, free: 10.56 MB / 346.7 MB Notification: Performance of Templates: time 0.002506/0.5089, allocations: 0.8569 MB / 426.8 MB, free: 9.711 MB / 346.7 MB