Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.4e-05, allocations: 7.938 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.454, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.6094, allocations: 84.66 MB / 466.9 MB, free: 7.754 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.6096, allocations: 63.97 kB / 467 MB, free: 7.691 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.006384/0.6161, allocations: 1.663 MB / 468.7 MB, free: 6.023 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6161, allocations: 0 / 468.7 MB, free: 6.023 MB / 394.8 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.6161, allocations: 0 / 468.7 MB, free: 6.023 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.0003332/0.6165, allocations: 360.2 kB / 469 MB, free: 5.621 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6165, allocations: 8.031 kB / 469 MB, free: 5.613 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.6166, allocations: 38.56 kB / 469.1 MB, free: 5.566 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.6166, allocations: 0 / 469.1 MB, free: 5.566 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.6167, allocations: 171 kB / 469.2 MB, free: 5.359 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.6167, allocations: 0 / 469.2 MB, free: 5.359 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.6168, allocations: 0 / 469.2 MB, free: 5.359 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.081e-05/0.6169, allocations: 29.7 kB / 469.3 MB, free: 5.324 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6169, allocations: 3.938 kB / 469.3 MB, free: 5.32 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.6169, allocations: 0 / 469.3 MB, free: 5.32 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6169, allocations: 0 / 469.3 MB, free: 5.32 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.764e-05/0.6169, allocations: 0 / 469.3 MB, free: 5.32 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.6171, allocations: 157.6 kB / 469.4 MB, free: 5.117 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/0.6172, allocations: 18.58 kB / 469.4 MB, free: 5.09 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.007e-05/0.6172, allocations: 8.938 kB / 469.5 MB, free: 5.078 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.6172, allocations: 4 kB / 469.5 MB, free: 5.074 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.6173, allocations: 56.27 kB / 469.5 MB, free: 5.004 MB / 394.8 MB Notification: Performance of pre-optimization done (n=1): time 1.934e-06/0.6173, allocations: 0 / 469.5 MB, free: 5.004 MB / 394.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001836/0.6175, allocations: 63.34 kB / 469.6 MB, free: 4.93 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.6175, allocations: 89.03 kB / 469.7 MB, free: 4.824 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.986e-05/0.6176, allocations: 89.03 kB / 469.7 MB, free: 4.73 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.6176, allocations: 25.7 kB / 469.8 MB, free: 4.699 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.804e-05/0.6177, allocations: 84.08 kB / 469.9 MB, free: 4.613 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.6177, allocations: 0 / 469.9 MB, free: 4.613 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.6177, allocations: 0 / 469.9 MB, free: 4.613 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.6178, allocations: 314.8 kB / 470.2 MB, free: 4.297 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.6179, allocations: 0 / 470.2 MB, free: 4.297 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-06/0.6179, allocations: 0 / 470.2 MB, free: 4.297 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.6179, allocations: 29.77 kB / 470.2 MB, free: 4.262 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.6179, allocations: 7.953 kB / 470.2 MB, free: 4.254 MB / 394.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.428e-05/0.618, allocations: 59.39 kB / 470.3 MB, free: 4.184 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.6181, allocations: 37.7 kB / 470.3 MB, free: 4.141 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6181, allocations: 0 / 470.3 MB, free: 4.141 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6181, allocations: 0 / 470.3 MB, free: 4.141 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-06/0.6181, allocations: 3.938 kB / 470.3 MB, free: 4.137 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6182, allocations: 0 / 470.3 MB, free: 4.137 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.6182, allocations: 0 / 470.3 MB, free: 4.137 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.6182, allocations: 0 / 470.3 MB, free: 4.137 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 9.445e-05/0.6183, allocations: 134.7 kB / 470.4 MB, free: 3.992 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.6183, allocations: 3.953 kB / 470.4 MB, free: 3.988 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.642e-05/0.6184, allocations: 7.109 kB / 470.4 MB, free: 3.977 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6184, allocations: 0 / 470.4 MB, free: 3.977 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.6184, allocations: 0 / 470.4 MB, free: 3.977 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6184, allocations: 4 kB / 470.4 MB, free: 3.973 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.6185, allocations: 141.7 kB / 470.6 MB, free: 3.785 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6185, allocations: 0 / 470.6 MB, free: 3.785 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-06/0.6185, allocations: 3.953 kB / 470.6 MB, free: 3.781 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.6185, allocations: 0 / 470.6 MB, free: 3.781 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.6186, allocations: 4 kB / 470.6 MB, free: 3.777 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6186, allocations: 4 kB / 470.6 MB, free: 3.773 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.6186, allocations: 3.984 kB / 470.6 MB, free: 3.77 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.6187, allocations: 82.84 kB / 470.7 MB, free: 3.664 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.6188, allocations: 81.11 kB / 470.8 MB, free: 3.566 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.6188, allocations: 11.94 kB / 470.8 MB, free: 3.555 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.62e-05/0.6188, allocations: 0 / 470.8 MB, free: 3.555 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.397e-05/0.6189, allocations: 11.91 kB / 470.8 MB, free: 3.543 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.6189, allocations: 0 / 470.8 MB, free: 3.543 MB / 394.8 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.6189, allocations: 75.28 kB / 470.9 MB, free: 3.469 MB / 394.8 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6189, allocations: 4 kB / 470.9 MB, free: 3.465 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.0003186/0.6192, allocations: 31.98 kB / 470.9 MB, free: 3.434 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.000986/0.6202, allocations: 0.8003 MB / 471.7 MB, free: 2.656 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.6204, allocations: 67.34 kB / 471.8 MB, free: 2.578 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6204, allocations: 4 kB / 471.8 MB, free: 2.574 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.6204, allocations: 51.41 kB / 471.8 MB, free: 2.512 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.6206, allocations: 11.89 kB / 471.8 MB, free: 2.5 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.6209, allocations: 84.23 kB / 471.9 MB, free: 2.383 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.6211, allocations: 0.6731 MB / 472.6 MB, free: 1.684 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 6.282e-06/0.6212, allocations: 4 kB / 472.6 MB, free: 1.68 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.494e-05/0.6212, allocations: 7.438 kB / 472.6 MB, free: 1.672 MB / 394.8 MB Notification: Performance of SimCode: time 8.31e-07/0.6212, allocations: 0 / 472.6 MB, free: 1.672 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.6424, allocations: 1.349 MB / 473.9 MB, free: 376 kB / 394.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003589/0.6429, allocations: 182.7 kB / 474.1 MB, free: 140 kB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.135, allocations: 8 kB / 474.1 MB, free: 132 kB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat