Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.515/2.515, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.3e-05/4.312e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.451, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.6079, allocations: 84.49 MB / 466.8 MB, free: 7.934 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/0.6083, allocations: 59.97 kB / 466.8 MB, free: 7.875 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.6186, allocations: 1.738 MB / 468.6 MB, free: 6.133 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6186, allocations: 0 / 468.6 MB, free: 6.133 MB / 394.8 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.6187, allocations: 0 / 468.6 MB, free: 6.133 MB / 394.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004467/0.6191, allocations: 360.1 kB / 468.9 MB, free: 5.73 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.6192, allocations: 12.03 kB / 468.9 MB, free: 5.719 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.6193, allocations: 30.56 kB / 469 MB, free: 5.68 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.6193, allocations: 0 / 469 MB, free: 5.68 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.6195, allocations: 163 kB / 469.1 MB, free: 5.48 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.6196, allocations: 0 / 469.1 MB, free: 5.48 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.6196, allocations: 4 kB / 469.1 MB, free: 5.477 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.6197, allocations: 29.7 kB / 469.2 MB, free: 5.441 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6197, allocations: 4 kB / 469.2 MB, free: 5.438 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.6198, allocations: 0 / 469.2 MB, free: 5.438 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.6198, allocations: 4 kB / 469.2 MB, free: 5.434 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.497e-05/0.6198, allocations: 7.922 kB / 469.2 MB, free: 5.426 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.6201, allocations: 145.6 kB / 469.3 MB, free: 5.234 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.402e-05/0.6202, allocations: 18.61 kB / 469.3 MB, free: 5.207 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.6202, allocations: 4.859 kB / 469.3 MB, free: 5.199 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.6202, allocations: 0 / 469.3 MB, free: 5.199 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.917e-05/0.6203, allocations: 68.33 kB / 469.4 MB, free: 5.117 MB / 394.8 MB Notification: Performance of pre-optimization done (n=1): time 2.334e-06/0.6204, allocations: 0 / 469.4 MB, free: 5.117 MB / 394.8 MB Notification: Performance of matching and sorting (n=1): time 0.000209/0.6206, allocations: 59.39 kB / 469.5 MB, free: 5.047 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.6207, allocations: 81.11 kB / 469.5 MB, free: 4.949 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.6208, allocations: 92.88 kB / 469.6 MB, free: 4.852 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.6208, allocations: 25.7 kB / 469.7 MB, free: 4.82 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.6209, allocations: 80.3 kB / 469.7 MB, free: 4.738 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.6209, allocations: 7.984 kB / 469.7 MB, free: 4.73 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.6209, allocations: 0 / 469.7 MB, free: 4.73 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6211, allocations: 318.8 kB / 470.1 MB, free: 4.41 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.6212, allocations: 0 / 470.1 MB, free: 4.41 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.6212, allocations: 3.984 kB / 470.1 MB, free: 4.406 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/0.6213, allocations: 33.66 kB / 470.1 MB, free: 4.367 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6213, allocations: 3.938 kB / 470.1 MB, free: 4.363 MB / 394.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001543/0.6215, allocations: 63.41 kB / 470.2 MB, free: 4.289 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.6215, allocations: 34.42 kB / 470.2 MB, free: 4.25 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.6216, allocations: 0 / 470.2 MB, free: 4.25 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.6216, allocations: 0 / 470.2 MB, free: 4.25 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.6216, allocations: 0 / 470.2 MB, free: 4.25 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.6216, allocations: 3.984 kB / 470.2 MB, free: 4.246 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.6217, allocations: 4 kB / 470.2 MB, free: 4.242 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.6217, allocations: 3.984 kB / 470.2 MB, free: 4.238 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001254/0.6219, allocations: 133.4 kB / 470.3 MB, free: 4.098 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.6219, allocations: 4 kB / 470.3 MB, free: 4.094 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.6219, allocations: 15.06 kB / 470.4 MB, free: 4.074 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.622, allocations: 0 / 470.4 MB, free: 4.074 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.622, allocations: 0 / 470.4 MB, free: 4.074 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.622, allocations: 0 / 470.4 MB, free: 4.074 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.6222, allocations: 145.7 kB / 470.5 MB, free: 3.883 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6222, allocations: 7.953 kB / 470.5 MB, free: 3.875 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.6222, allocations: 0 / 470.5 MB, free: 3.875 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6222, allocations: 0 / 470.5 MB, free: 3.875 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.6223, allocations: 0 / 470.5 MB, free: 3.875 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.6223, allocations: 0 / 470.5 MB, free: 3.875 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6223, allocations: 0 / 470.5 MB, free: 3.875 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.6225, allocations: 94.83 kB / 470.6 MB, free: 3.758 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.6226, allocations: 81.06 kB / 470.7 MB, free: 3.66 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.6226, allocations: 0 / 470.7 MB, free: 3.66 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.615e-05/0.6227, allocations: 4 kB / 470.7 MB, free: 3.656 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.6227, allocations: 0 / 470.7 MB, free: 3.656 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.6227, allocations: 0 / 470.7 MB, free: 3.656 MB / 394.8 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.6228, allocations: 79.31 kB / 470.8 MB, free: 3.578 MB / 394.8 MB Notification: Performance of sort global known variables: time 8.62e-07/0.6228, allocations: 0 / 470.8 MB, free: 3.578 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0005318/0.6234, allocations: 23.98 kB / 470.8 MB, free: 3.555 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001188/0.6246, allocations: 0.7338 MB / 471.5 MB, free: 2.816 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.6248, allocations: 55.41 kB / 471.6 MB, free: 2.75 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.6248, allocations: 0 / 471.6 MB, free: 2.75 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.6249, allocations: 55.41 kB / 471.6 MB, free: 2.684 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.6251, allocations: 4.125 kB / 471.6 MB, free: 2.68 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.6256, allocations: 98.83 kB / 471.7 MB, free: 2.551 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.626, allocations: 0.677 MB / 472.4 MB, free: 1.848 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 1.567e-05/0.626, allocations: 3.906 kB / 472.4 MB, free: 1.844 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.6261, allocations: 7.438 kB / 472.4 MB, free: 1.836 MB / 394.8 MB Notification: Performance of SimCode: time 1.443e-06/0.6261, allocations: 0 / 472.4 MB, free: 1.836 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.6521, allocations: 1.211 MB / 473.6 MB, free: 0.6836 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/0.6525, allocations: 179.7 kB / 473.8 MB, free: 468 kB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.205, allocations: 4.062 kB / 473.8 MB, free: 464 kB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat