Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.324e-05, allocations: 4 kB / 255.4 MB, free: 2.648 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1508, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5871, allocations: 71.68 MB / 371.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.5874, allocations: 63.66 kB / 371.7 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005739/0.5932, allocations: 1.434 MB / 373.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5932, allocations: 0 / 373.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.5932, allocations: 1.156 kB / 373.1 MB, free: 21.89 MB / 314.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.0004416/0.5937, allocations: 372.4 kB / 373.5 MB, free: 21.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5937, allocations: 9.875 kB / 373.5 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.5938, allocations: 37.8 kB / 373.5 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.47e-05/0.5938, allocations: 7.094 kB / 373.5 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5939, allocations: 179.3 kB / 373.7 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.594, allocations: 7.031 kB / 373.7 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.594, allocations: 12.06 kB / 373.7 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.5942, allocations: 99.5 kB / 373.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5942, allocations: 1.062 kB / 373.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.5943, allocations: 1.969 kB / 373.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.5943, allocations: 2.188 kB / 373.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.5944, allocations: 35.2 kB / 373.9 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.5951, allocations: 0.6433 MB / 374.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.5952, allocations: 108.2 kB / 374.6 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.377e-05/0.5953, allocations: 38.25 kB / 374.7 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.5953, allocations: 9 kB / 374.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.5954, allocations: 38.67 kB / 374.7 MB, free: 20.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.5954, allocations: 0 / 374.7 MB, free: 20.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003389/0.5957, allocations: 78.56 kB / 374.8 MB, free: 20.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.5958, allocations: 161.2 kB / 374.9 MB, free: 20.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.5959, allocations: 111.9 kB / 375 MB, free: 20.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.5959, allocations: 25.7 kB / 375.1 MB, free: 20.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.596, allocations: 99.56 kB / 375.2 MB, free: 19.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.596, allocations: 16.25 kB / 375.2 MB, free: 19.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.596, allocations: 0 / 375.2 MB, free: 19.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.5961, allocations: 318.8 kB / 375.5 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.5962, allocations: 13.06 kB / 375.5 MB, free: 19.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.593e-05/0.5962, allocations: 41.05 kB / 375.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.5963, allocations: 13.61 kB / 375.6 MB, free: 19.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5963, allocations: 5.406 kB / 375.6 MB, free: 19.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001725/0.5965, allocations: 75.02 kB / 375.6 MB, free: 19.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5965, allocations: 6.25 kB / 375.7 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5965, allocations: 1.031 kB / 375.7 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5966, allocations: 5.984 kB / 375.7 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.5967, allocations: 14.11 kB / 375.7 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.5967, allocations: 1.422 kB / 375.7 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.5969, allocations: 23.52 kB / 375.7 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.5969, allocations: 2.688 kB / 375.7 MB, free: 19.5 MB / 314.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 6.189e-05/0.597, allocations: 103.8 kB / 375.8 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.5971, allocations: 16.97 kB / 375.8 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.5971, allocations: 14.28 kB / 375.8 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5972, allocations: 6.094 kB / 375.8 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5972, allocations: 5.016 kB / 375.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5972, allocations: 1.766 kB / 375.8 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.5977, allocations: 185.6 kB / 376 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5977, allocations: 2.406 kB / 376 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.5978, allocations: 13.5 kB / 376 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5978, allocations: 1.656 kB / 376 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.5978, allocations: 5.969 kB / 376 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5979, allocations: 3.406 kB / 376 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5979, allocations: 1.25 kB / 376.1 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.5981, allocations: 0.5109 MB / 376.6 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.5982, allocations: 81.5 kB / 376.6 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.5982, allocations: 14.05 kB / 376.7 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.5985, allocations: 9.406 kB / 376.7 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.5986, allocations: 7.656 kB / 376.7 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.5986, allocations: 5.656 kB / 376.7 MB, free: 18.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.5987, allocations: 89.92 kB / 376.8 MB, free: 18.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5987, allocations: 0 / 376.8 MB, free: 18.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004846/0.5992, allocations: 9.094 kB / 376.8 MB, free: 18.49 MB / 314.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.0005086/0.5997, allocations: 1.325 MB / 378.1 MB, free: 17.19 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.6, allocations: 33.23 kB / 378.1 MB, free: 17.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.6, allocations: 4.281 kB / 378.1 MB, free: 17.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.78e-05/0.6001, allocations: 22.02 kB / 378.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.6005, allocations: 7.281 kB / 378.2 MB, free: 17.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.6012, allocations: 165.1 kB / 378.3 MB, free: 17.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/0.6019, allocations: 0.6932 MB / 379 MB, free: 32.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.602, allocations: 7.312 kB / 379 MB, free: 32.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.6021, allocations: 18.97 kB / 379 MB, free: 32.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6021, allocations: 0 / 379 MB, free: 32.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.6267, allocations: 1.338 MB / 380.4 MB, free: 32.1 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.627, allocations: 133 kB / 380.5 MB, free: 31.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.069, allocations: 0 / 380.5 MB, free: 31.88 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat