Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadModel(Modelica): time 1.204/1.204, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.658e-05, allocations: 4 kB / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1474, allocations: 25.15 MB / 176.5 MB, free: 24 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05241/0.1998, allocations: 33.72 MB / 210.3 MB, free: 15.75 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.2001, allocations: 63.92 kB / 210.3 MB, free: 15.68 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009345/0.2094, allocations: 2.544 MB / 212.9 MB, free: 13.13 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.789e-06/0.2095, allocations: 0 / 212.9 MB, free: 13.13 MB / 186.7 MB Notification: Performance of Transformations before backend: time 8.038e-06/0.2095, allocations: 0 / 212.9 MB, free: 13.13 MB / 186.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.0004722/0.21, allocations: 374.3 kB / 213.2 MB, free: 12.72 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.21, allocations: 8.031 kB / 213.2 MB, free: 12.71 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.2101, allocations: 11.86 kB / 213.2 MB, free: 12.7 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.2102, allocations: 167 kB / 213.4 MB, free: 12.5 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.2103, allocations: 11.94 kB / 213.4 MB, free: 12.48 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2103, allocations: 7.984 kB / 213.4 MB, free: 12.48 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.2105, allocations: 93.98 kB / 213.5 MB, free: 12.36 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2105, allocations: 7.984 kB / 213.5 MB, free: 12.36 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.2106, allocations: 0 / 213.5 MB, free: 12.36 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2106, allocations: 7.891 kB / 213.5 MB, free: 12.35 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2107, allocations: 39.92 kB / 213.6 MB, free: 12.31 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007988/0.2115, allocations: 0.6303 MB / 214.2 MB, free: 11.61 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.2117, allocations: 109.1 kB / 214.3 MB, free: 11.46 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.2118, allocations: 40.28 kB / 214.3 MB, free: 11.41 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2118, allocations: 0 / 214.3 MB, free: 11.41 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.2119, allocations: 46.5 kB / 214.4 MB, free: 11.35 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 2.032e-06/0.2119, allocations: 0 / 214.4 MB, free: 11.35 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003298/0.2122, allocations: 69.53 kB / 214.5 MB, free: 11.28 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.816e-05/0.2124, allocations: 158.2 kB / 214.6 MB, free: 11.09 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.2125, allocations: 113.1 kB / 214.7 MB, free: 10.97 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2125, allocations: 25.7 kB / 214.8 MB, free: 10.94 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2127, allocations: 162.7 kB / 214.9 MB, free: 10.77 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2127, allocations: 27.72 kB / 214.9 MB, free: 10.75 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-06/0.2127, allocations: 0 / 214.9 MB, free: 10.75 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2129, allocations: 310.8 kB / 215.2 MB, free: 10.43 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.2129, allocations: 11.94 kB / 215.3 MB, free: 10.42 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.213, allocations: 44.3 kB / 215.3 MB, free: 10.36 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/0.2131, allocations: 11.98 kB / 215.3 MB, free: 10.35 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-06/0.2131, allocations: 4 kB / 215.3 MB, free: 10.35 MB / 186.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001752/0.2133, allocations: 73.7 kB / 215.4 MB, free: 10.27 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2133, allocations: 7.938 kB / 215.4 MB, free: 10.26 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.938e-06/0.2133, allocations: 0 / 215.4 MB, free: 10.26 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2134, allocations: 4 kB / 215.4 MB, free: 10.26 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.2135, allocations: 19.92 kB / 215.4 MB, free: 10.24 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2135, allocations: 0 / 215.4 MB, free: 10.24 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2136, allocations: 15.91 kB / 215.4 MB, free: 10.22 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2137, allocations: 7.938 kB / 215.4 MB, free: 10.21 MB / 186.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 9.782e-05/0.2138, allocations: 109 kB / 215.5 MB, free: 10.1 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2139, allocations: 7.953 kB / 215.6 MB, free: 10.09 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.214, allocations: 12.02 kB / 215.6 MB, free: 10.08 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.214, allocations: 0 / 215.6 MB, free: 10.08 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.214, allocations: 4 kB / 215.6 MB, free: 10.08 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.214, allocations: 0 / 215.6 MB, free: 10.08 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.2145, allocations: 181.6 kB / 215.7 MB, free: 9.852 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.923e-06/0.2145, allocations: 0 / 215.7 MB, free: 9.852 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2147, allocations: 24.05 kB / 215.8 MB, free: 9.828 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.2147, allocations: 15.95 kB / 215.8 MB, free: 9.812 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.962e-06/0.2147, allocations: 0 / 215.8 MB, free: 9.812 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.81e-06/0.2147, allocations: 0 / 215.8 MB, free: 9.812 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.523e-06/0.2147, allocations: 4 kB / 215.8 MB, free: 9.809 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.2152, allocations: 0.5072 MB / 216.3 MB, free: 9.258 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.2152, allocations: 89.02 kB / 216.4 MB, free: 9.152 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.2153, allocations: 0 / 216.4 MB, free: 9.152 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.2156, allocations: 11.98 kB / 216.4 MB, free: 9.141 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.89e-05/0.2157, allocations: 19.94 kB / 216.4 MB, free: 9.121 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2157, allocations: 4 kB / 216.4 MB, free: 9.117 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.2158, allocations: 87.28 kB / 216.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.2158, allocations: 0 / 216.5 MB, free: 9.031 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005176/0.2163, allocations: 12 kB / 216.5 MB, free: 9.02 MB / 186.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.0001239/0.2165, allocations: 103.2 kB / 216.6 MB, free: 8.91 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.2166, allocations: 36.12 kB / 216.7 MB, free: 8.875 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2167, allocations: 4.125 kB / 216.7 MB, free: 8.871 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.2167, allocations: 19.94 kB / 216.7 MB, free: 8.852 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.2171, allocations: 5.156 kB / 216.7 MB, free: 8.848 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.2175, allocations: 158.4 kB / 216.8 MB, free: 8.648 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.218, allocations: 0.7007 MB / 217.5 MB, free: 7.922 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.218, allocations: 7.438 kB / 217.5 MB, free: 7.914 MB / 186.7 MB Notification: Performance of SimCode: time 1.427e-06/0.218, allocations: 0 / 217.5 MB, free: 7.914 MB / 186.7 MB Notification: Performance of Templates: time 0.002517/0.2206, allocations: 0.8539 MB / 218.4 MB, free: 7.059 MB / 186.7 MB