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.068/2.068, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.151e-05/4.163e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.159, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.6105, allocations: 71.7 MB / 371.7 MB, free: 21.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.6109, allocations: 67.66 kB / 371.7 MB, free: 21.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005759/0.6166, allocations: 1.423 MB / 373.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6167, allocations: 1.094 kB / 373.2 MB, free: 21.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.6167, allocations: 5 kB / 373.2 MB, free: 21.48 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.0004824/0.6172, allocations: 366.6 kB / 373.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.6173, allocations: 9.562 kB / 373.5 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.6173, allocations: 37.84 kB / 373.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.6174, allocations: 8.531 kB / 373.6 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.6175, allocations: 180.6 kB / 373.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.6175, allocations: 10.2 kB / 373.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.6176, allocations: 12.56 kB / 373.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.6178, allocations: 99.39 kB / 373.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.6178, allocations: 0.7969 kB / 373.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.6178, allocations: 1.344 kB / 373.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.6178, allocations: 1.375 kB / 373.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.618, allocations: 34.44 kB / 373.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.6187, allocations: 0.6413 MB / 374.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.6188, allocations: 95.69 kB / 374.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.6189, allocations: 53.48 kB / 374.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.6189, allocations: 1.969 kB / 374.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.619, allocations: 39.83 kB / 374.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.619, allocations: 1.312 kB / 374.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000321/0.6193, allocations: 76.69 kB / 374.8 MB, free: 19.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.6194, allocations: 161 kB / 375 MB, free: 19.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.487e-05/0.6195, allocations: 111.9 kB / 375.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.6195, allocations: 30.23 kB / 375.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.6196, allocations: 93.77 kB / 375.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.6196, allocations: 15.89 kB / 375.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.6196, allocations: 1.156 kB / 375.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.187e-05/0.6197, allocations: 317.5 kB / 375.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.6197, allocations: 14 kB / 375.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.6198, allocations: 37.56 kB / 375.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.6199, allocations: 12.05 kB / 375.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6199, allocations: 5 kB / 375.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001713/0.6201, allocations: 80.14 kB / 375.7 MB, free: 19.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.6201, allocations: 5.438 kB / 375.7 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6201, allocations: 5.031 kB / 375.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6202, allocations: 7.031 kB / 375.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.6203, allocations: 13.42 kB / 375.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.6203, allocations: 1.438 kB / 375.7 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.6205, allocations: 18.45 kB / 375.7 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.6205, allocations: 3.047 kB / 375.7 MB, free: 19.09 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.298e-05/0.6206, allocations: 111.5 kB / 375.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.6207, allocations: 8.375 kB / 375.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.6207, allocations: 10.72 kB / 375.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.6208, allocations: 2.641 kB / 375.8 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6208, allocations: 8.922 kB / 375.9 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.6208, allocations: 2.625 kB / 375.9 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.6213, allocations: 183.7 kB / 376 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6213, allocations: 1.281 kB / 376 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.6214, allocations: 14.31 kB / 376.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.6215, allocations: 2.562 kB / 376.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.6215, allocations: 8.156 kB / 376.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.6215, allocations: 2.859 kB / 376.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6215, allocations: 1.219 kB / 376.1 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.6218, allocations: 0.5116 MB / 376.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.6218, allocations: 80.73 kB / 376.7 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.6218, allocations: 7.219 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.6222, allocations: 9.797 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.6222, allocations: 10.33 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.6223, allocations: 7.141 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.479e-05/0.6223, allocations: 89.53 kB / 376.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6223, allocations: 0 / 376.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005435/0.6229, allocations: 13.78 kB / 376.8 MB, free: 18.09 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.0005289/0.6234, allocations: 1.319 MB / 378.1 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.6236, allocations: 37.58 kB / 378.2 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6237, allocations: 0 / 378.2 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.6237, allocations: 21.64 kB / 378.2 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.6241, allocations: 3.547 kB / 378.2 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008294/0.625, allocations: 164.5 kB / 378.3 MB, free: 16.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008582/0.6259, allocations: 0.6972 MB / 379 MB, free: 31.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.385e-05/0.6259, allocations: 4.141 kB / 379 MB, free: 31.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.626, allocations: 18.17 kB / 379.1 MB, free: 31.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.422e-06/0.626, allocations: 4 kB / 379.1 MB, free: 31.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.648, allocations: 1.337 MB / 380.4 MB, free: 31.69 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.6483, allocations: 130.6 kB / 380.5 MB, free: 31.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.116, allocations: 0 / 380.5 MB, free: 31.47 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