Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.017e-05/5.041e-05, allocations: 4 kB / 305 MB, free: 5.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4832, allocations: 54.86 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.6715, allocations: 79.71 MB / 439.6 MB, free: 1.117 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.6718, allocations: 55.98 kB / 439.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006457/0.6783, allocations: 1.659 MB / 441.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6783, allocations: 0 / 441.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.6783, allocations: 0.6562 kB / 441.3 MB, free: 15.41 MB / 378.7 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.0003763/0.6787, allocations: 360.2 kB / 441.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.6788, allocations: 8.031 kB / 441.6 MB, free: 15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.6788, allocations: 34.56 kB / 441.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.6789, allocations: 5.203 kB / 441.7 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.679, allocations: 168.6 kB / 441.8 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.679, allocations: 7.5 kB / 441.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.679, allocations: 0 / 441.9 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.6791, allocations: 25.7 kB / 441.9 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6792, allocations: 0 / 441.9 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6792, allocations: 4 kB / 441.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.6792, allocations: 3.953 kB / 441.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.6792, allocations: 3.938 kB / 441.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.6794, allocations: 149.7 kB / 442 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.021e-05/0.6795, allocations: 22.61 kB / 442.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.6795, allocations: 4.859 kB / 442.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.6795, allocations: 0 / 442.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.6796, allocations: 60.33 kB / 442.1 MB, free: 14.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.953e-06/0.6796, allocations: 0 / 442.1 MB, free: 14.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.6798, allocations: 59.34 kB / 442.2 MB, free: 14.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.6798, allocations: 85.12 kB / 442.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.62e-05/0.6799, allocations: 90.5 kB / 442.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.6799, allocations: 25.7 kB / 442.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.68, allocations: 84.14 kB / 442.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.68, allocations: 0 / 442.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.68, allocations: 0 / 442.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6801, allocations: 314.8 kB / 442.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.6802, allocations: 0 / 442.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.145e-05/0.6802, allocations: 8 kB / 442.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.684e-05/0.6802, allocations: 25.7 kB / 442.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6802, allocations: 0 / 442.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.163e-05/0.6803, allocations: 63.39 kB / 442.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.6804, allocations: 29.7 kB / 442.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6804, allocations: 0 / 442.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.6804, allocations: 4.938 kB / 442.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.764e-06/0.6805, allocations: 3.938 kB / 442.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6805, allocations: 0 / 442.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.6805, allocations: 4.734 kB / 442.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.6805, allocations: 7.375 kB / 442.9 MB, free: 13.54 MB / 378.7 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.776e-05/0.6806, allocations: 138.6 kB / 443 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.6806, allocations: 0 / 443 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.6807, allocations: 7.078 kB / 443.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.6807, allocations: 3.984 kB / 443.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6807, allocations: 0.5625 kB / 443.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6807, allocations: 0 / 443.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.6808, allocations: 150.8 kB / 443.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6809, allocations: 0 / 443.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-06/0.6809, allocations: 5.188 kB / 443.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6809, allocations: 0 / 443.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.6809, allocations: 0 / 443.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6809, allocations: 0 / 443.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6809, allocations: 0 / 443.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.681, allocations: 94.78 kB / 443.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.6811, allocations: 77.11 kB / 443.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.6811, allocations: 7.938 kB / 443.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.427e-05/0.6812, allocations: 8.016 kB / 443.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.6812, allocations: 2 kB / 443.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.6812, allocations: 0.8438 kB / 443.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.6812, allocations: 75.28 kB / 443.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6812, allocations: 0 / 443.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.6816, allocations: 31.98 kB / 443.5 MB, free: 12.84 MB / 378.7 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.001008/0.6826, allocations: 0.8137 MB / 444.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.6827, allocations: 59.41 kB / 444.4 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6827, allocations: 3.938 kB / 444.4 MB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.6828, allocations: 55.41 kB / 444.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.89e-05/0.6829, allocations: 4 kB / 444.4 MB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.6832, allocations: 94.58 kB / 444.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.6835, allocations: 0.6731 MB / 445.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.981e-06/0.6835, allocations: 0 / 445.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.6836, allocations: 15.56 kB / 445.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6836, allocations: 0 / 445.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.7025, allocations: 1.353 MB / 446.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000315/0.7029, allocations: 187.8 kB / 446.7 MB, free: 9.539 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.411/3.114, allocations: 0 / 446.7 MB, free: 9.539 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat