Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.243e-05/4.258e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2757, allocations: 38.76 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.4332, allocations: 66.4 MB / 330.3 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.4335, allocations: 63.97 kB / 330.3 MB, free: 7.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006438/0.44, allocations: 1.446 MB / 331.8 MB, free: 5.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.44, allocations: 4 kB / 331.8 MB, free: 5.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.4401, allocations: 0 / 331.8 MB, free: 5.715 MB / 282.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.0005939/0.4407, allocations: 362.4 kB / 332.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.4407, allocations: 12.03 kB / 332.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.425e-05/0.4408, allocations: 38.55 kB / 332.2 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.4409, allocations: 7.906 kB / 332.2 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.4411, allocations: 174.9 kB / 332.4 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4411, allocations: 8 kB / 332.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.4411, allocations: 11.94 kB / 332.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.4414, allocations: 105.9 kB / 332.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4414, allocations: 0 / 332.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.4415, allocations: 4 kB / 332.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4415, allocations: 0 / 332.5 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.4416, allocations: 39.94 kB / 332.5 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000942/0.4426, allocations: 0.642 MB / 333.2 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.4428, allocations: 101 kB / 333.3 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.4429, allocations: 47.8 kB / 333.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.443, allocations: 0 / 333.3 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.443, allocations: 46.48 kB / 333.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.443, allocations: 0 / 333.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003612/0.4434, allocations: 77.5 kB / 333.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.4435, allocations: 158.2 kB / 333.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4437, allocations: 109 kB / 333.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4437, allocations: 25.7 kB / 333.7 MB, free: 3.469 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.4438, allocations: 92.23 kB / 333.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.4439, allocations: 23.73 kB / 333.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.4439, allocations: 0 / 333.8 MB, free: 3.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.4441, allocations: 322.9 kB / 334.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.125e-05/0.4441, allocations: 12 kB / 334.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.4442, allocations: 40.23 kB / 334.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.001e-05/0.4443, allocations: 19.98 kB / 334.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4443, allocations: 0 / 334.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002107/0.4445, allocations: 73.47 kB / 334.3 MB, free: 2.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.4446, allocations: 8 kB / 334.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4446, allocations: 0 / 334.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4446, allocations: 0 / 334.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.4448, allocations: 19.92 kB / 334.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.4449, allocations: 4 kB / 334.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.445, allocations: 16.27 kB / 334.3 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.445, allocations: 4 kB / 334.3 MB, free: 2.809 MB / 282.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 0.0001129/0.4451, allocations: 116.9 kB / 334.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.4453, allocations: 4 kB / 334.5 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.4453, allocations: 11.61 kB / 334.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4454, allocations: 4 kB / 334.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4454, allocations: 0 / 334.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.4454, allocations: 7.984 kB / 334.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.446, allocations: 197.5 kB / 334.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.446, allocations: 0 / 334.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.4462, allocations: 15.94 kB / 334.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.4462, allocations: 0 / 334.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4462, allocations: 7.984 kB / 334.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.4462, allocations: 0 / 334.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4462, allocations: 0 / 334.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.4467, allocations: 0.5034 MB / 335.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/0.4468, allocations: 85 kB / 335.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.4469, allocations: 15.89 kB / 335.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.4472, allocations: 12 kB / 335.3 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.4473, allocations: 7.984 kB / 335.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4473, allocations: 0 / 335.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.663e-05/0.4474, allocations: 99.64 kB / 335.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4474, allocations: 0 / 335.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005569/0.448, allocations: 15.94 kB / 335.4 MB, free: 1.594 MB / 282.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.00102/0.449, allocations: 1.328 MB / 336.8 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4493, allocations: 35.92 kB / 336.8 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4493, allocations: 0 / 336.8 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.4494, allocations: 19.94 kB / 336.8 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.4498, allocations: 8.578 kB / 336.8 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009527/0.4508, allocations: 161.5 kB / 337 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.4512, allocations: 0.6926 MB / 337.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.4513, allocations: 4 kB / 337.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.4514, allocations: 19.42 kB / 337.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of SimCode: time 1.273e-06/0.4514, allocations: 8 kB / 337.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.4746, allocations: 1.319 MB / 339 MB, free: 13.94 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/0.4749, allocations: 141.8 kB / 339.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/2.904, allocations: 3.938 kB / 339.2 MB, free: 13.7 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.BusUsage_res.mat does not exist to compare? outputFormat=mat