Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.545e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5395, allocations: 77.13 MB / 419.8 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.5398, allocations: 60.47 kB / 419.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005796/0.5456, allocations: 1.509 MB / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5456, allocations: 0 / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.5456, allocations: 4 kB / 421.3 MB, free: 15.38 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.0004909/0.5461, allocations: 374 kB / 421.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5462, allocations: 15.95 kB / 421.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.5462, allocations: 38.45 kB / 421.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.5463, allocations: 7.906 kB / 421.8 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.5464, allocations: 167.6 kB / 421.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.5465, allocations: 7.938 kB / 421.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.5465, allocations: 4 kB / 421.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.5467, allocations: 104.9 kB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5468, allocations: 0 / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.5468, allocations: 3.938 kB / 422 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5468, allocations: 3.953 kB / 422.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.5469, allocations: 31.69 kB / 422.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007525/0.5477, allocations: 0.6407 MB / 422.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.5479, allocations: 101 kB / 422.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.548, allocations: 39.92 kB / 422.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.548, allocations: 3.938 kB / 422.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.548, allocations: 46.48 kB / 422.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.548, allocations: 0 / 422.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000314/0.5484, allocations: 72.97 kB / 423 MB, free: 13.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.5485, allocations: 158.2 kB / 423.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.5486, allocations: 113.1 kB / 423.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5486, allocations: 29.86 kB / 423.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.5487, allocations: 95.97 kB / 423.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.5487, allocations: 27.61 kB / 423.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.5487, allocations: 3.938 kB / 423.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5489, allocations: 314.8 kB / 423.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.5489, allocations: 11.94 kB / 423.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.549, allocations: 36.11 kB / 423.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.783e-05/0.5491, allocations: 23.61 kB / 423.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5491, allocations: 3.953 kB / 423.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001776/0.5493, allocations: 69.16 kB / 423.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5493, allocations: 8 kB / 423.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.5493, allocations: 4.156 kB / 423.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5494, allocations: 0 / 423.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.5495, allocations: 15.98 kB / 423.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.5496, allocations: 0 / 423.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.5497, allocations: 11.56 kB / 423.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.5497, allocations: 7.984 kB / 423.9 MB, free: 12.61 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.211e-05/0.5498, allocations: 108.9 kB / 424 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.5499, allocations: 15.86 kB / 424 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.55, allocations: 11.47 kB / 424 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.55, allocations: 4 kB / 424 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.55, allocations: 128 / 424 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.55, allocations: 0 / 424 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.5505, allocations: 185 kB / 424.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.5506, allocations: 4 kB / 424.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.5507, allocations: 15.94 kB / 424.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.5507, allocations: 4 kB / 424.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5507, allocations: 4 kB / 424.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.5507, allocations: 4 kB / 424.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5508, allocations: 3.938 kB / 424.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.5511, allocations: 0.5064 MB / 424.8 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.5512, allocations: 81.11 kB / 424.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.5512, allocations: 0 / 424.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.5516, allocations: 15.92 kB / 424.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.5516, allocations: 11.83 kB / 424.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.5517, allocations: 11.98 kB / 424.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.71e-05/0.5517, allocations: 90.91 kB / 425 MB, free: 11.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5518, allocations: 0 / 425 MB, free: 11.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005312/0.5523, allocations: 12 kB / 425 MB, free: 11.46 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.0007424/0.553, allocations: 1.311 MB / 426.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.5532, allocations: 39.67 kB / 426.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5533, allocations: 4.062 kB / 426.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5534, allocations: 23.88 kB / 426.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.5538, allocations: 3.938 kB / 426.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.5546, allocations: 161.2 kB / 426.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.555, allocations: 0.6929 MB / 427.2 MB, free: 9.152 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.165e-05/0.5551, allocations: 4 kB / 427.2 MB, free: 9.148 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.5551, allocations: 21.61 kB / 427.2 MB, free: 9.137 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5551, allocations: 4 kB / 427.2 MB, free: 9.133 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.5748, allocations: 1.335 MB / 428.6 MB, free: 7.871 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/0.5752, allocations: 136.4 kB / 428.7 MB, free: 7.648 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/2.944, allocations: 0 / 428.7 MB, free: 7.648 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat