Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_1_cpp_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.051/1.051, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.286e-05, allocations: 7.938 kB / 151.5 MB, free: 15.49 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1688, allocations: 25.14 MB / 176.6 MB, free: 15.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05903/0.2279, allocations: 33.72 MB / 210.3 MB, free: 15.61 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.2281, allocations: 67.95 kB / 210.4 MB, free: 15.55 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.2389, allocations: 2.543 MB / 213 MB, free: 12.99 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2389, allocations: 0 / 213 MB, free: 12.99 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2389, allocations: 0 / 213 MB, free: 12.99 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.0004941/0.2394, allocations: 374.3 kB / 213.3 MB, free: 12.58 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2395, allocations: 8.031 kB / 213.3 MB, free: 12.57 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.2395, allocations: 42.52 kB / 213.4 MB, free: 12.52 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.2396, allocations: 7.906 kB / 213.4 MB, free: 12.52 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.2397, allocations: 174.9 kB / 213.6 MB, free: 12.3 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.2398, allocations: 8 kB / 213.6 MB, free: 12.3 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2398, allocations: 4 kB / 213.6 MB, free: 12.29 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.24, allocations: 93.98 kB / 213.7 MB, free: 12.18 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.24, allocations: 3.938 kB / 213.7 MB, free: 12.18 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2401, allocations: 7.938 kB / 213.7 MB, free: 12.17 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2401, allocations: 7.938 kB / 213.7 MB, free: 12.16 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.2402, allocations: 32 kB / 213.7 MB, free: 12.13 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.241, allocations: 0.6341 MB / 214.3 MB, free: 11.43 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.2412, allocations: 105 kB / 214.4 MB, free: 11.28 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.2413, allocations: 40.42 kB / 214.5 MB, free: 11.23 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2413, allocations: 4 kB / 214.5 MB, free: 11.22 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.2413, allocations: 42.5 kB / 214.5 MB, free: 11.17 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.2414, allocations: 0 / 214.5 MB, free: 11.17 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003247/0.2417, allocations: 69.53 kB / 214.6 MB, free: 11.1 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.2418, allocations: 166.3 kB / 214.8 MB, free: 10.9 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2419, allocations: 109 kB / 214.9 MB, free: 10.79 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.242, allocations: 25.7 kB / 214.9 MB, free: 10.75 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.2421, allocations: 166.6 kB / 215.1 MB, free: 10.59 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.2421, allocations: 19.73 kB / 215.1 MB, free: 10.57 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.2421, allocations: 0 / 215.1 MB, free: 10.57 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2422, allocations: 314.8 kB / 215.4 MB, free: 10.25 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.2423, allocations: 8 kB / 215.4 MB, free: 10.24 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/0.2424, allocations: 44.3 kB / 215.4 MB, free: 10.18 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.967e-05/0.2425, allocations: 15.98 kB / 215.4 MB, free: 10.17 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2425, allocations: 0 / 215.4 MB, free: 10.17 MB / 186.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002028/0.2427, allocations: 81.42 kB / 215.5 MB, free: 10.08 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.2428, allocations: 8 kB / 215.5 MB, free: 10.07 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2428, allocations: 0 / 215.5 MB, free: 10.07 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2428, allocations: 4 kB / 215.5 MB, free: 10.07 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.243, allocations: 11.98 kB / 215.5 MB, free: 10.06 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.243, allocations: 7.938 kB / 215.6 MB, free: 10.05 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.2432, allocations: 19.92 kB / 215.6 MB, free: 10.03 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.2432, allocations: 4.156 kB / 215.6 MB, free: 10.03 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 8.204e-05/0.2433, allocations: 105 kB / 215.7 MB, free: 9.918 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.2434, allocations: 7.953 kB / 215.7 MB, free: 9.91 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.2435, allocations: 16.02 kB / 215.7 MB, free: 9.895 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2435, allocations: 0 / 215.7 MB, free: 9.895 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.2435, allocations: 4 kB / 215.7 MB, free: 9.891 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2435, allocations: 3.938 kB / 215.7 MB, free: 9.887 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.244, allocations: 185.5 kB / 215.9 MB, free: 9.656 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.244, allocations: 3.984 kB / 215.9 MB, free: 9.652 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.2442, allocations: 16 kB / 215.9 MB, free: 9.637 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.2442, allocations: 3.953 kB / 215.9 MB, free: 9.633 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.2442, allocations: 4 kB / 215.9 MB, free: 9.629 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2442, allocations: 0 / 215.9 MB, free: 9.629 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.2443, allocations: 7.984 kB / 215.9 MB, free: 9.621 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.2446, allocations: 0.5039 MB / 216.4 MB, free: 9.074 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.2447, allocations: 89.02 kB / 216.5 MB, free: 8.969 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.2448, allocations: 3.984 kB / 216.5 MB, free: 8.965 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.2451, allocations: 12 kB / 216.5 MB, free: 8.953 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.985e-05/0.2452, allocations: 15.94 kB / 216.6 MB, free: 8.938 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2452, allocations: 4 kB / 216.6 MB, free: 8.934 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.2453, allocations: 91.27 kB / 216.6 MB, free: 8.844 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2453, allocations: 0 / 216.6 MB, free: 8.844 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005479/0.2459, allocations: 12 kB / 216.7 MB, free: 8.832 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.0008234/0.2467, allocations: 1.324 MB / 218 MB, free: 7.465 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.2469, allocations: 31.94 kB / 218 MB, free: 7.434 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2469, allocations: 0 / 218 MB, free: 7.434 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 8.691e-05/0.247, allocations: 23.92 kB / 218 MB, free: 7.41 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2474, allocations: 8.781 kB / 218 MB, free: 7.402 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.2483, allocations: 192.8 kB / 218.2 MB, free: 7.156 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2486, allocations: 0.6965 MB / 218.9 MB, free: 6.434 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.2487, allocations: 19.42 kB / 218.9 MB, free: 6.414 MB / 186.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2487, allocations: 0 / 218.9 MB, free: 6.414 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.394/2.643, allocations: 1.216 MB / 220.2 MB, free: 5.199 MB / 186.7 MB