Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.373e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.417, allocations: 54.85 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5807, allocations: 79.62 MB / 439.5 MB, free: 1.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.581, allocations: 59.97 kB / 439.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008709/0.5897, allocations: 1.944 MB / 441.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5898, allocations: 0 / 441.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.5898, allocations: 0 / 441.5 MB, free: 15.24 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.0004093/0.5902, allocations: 360.3 kB / 441.8 MB, free: 14.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.5903, allocations: 12.02 kB / 441.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.5904, allocations: 30.56 kB / 441.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.5904, allocations: 4.516 kB / 441.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.5905, allocations: 159.1 kB / 442.1 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5905, allocations: 4 kB / 442.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.5906, allocations: 0 / 442.1 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.5907, allocations: 33.64 kB / 442.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.5907, allocations: 0 / 442.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.5907, allocations: 8.562 kB / 442.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.5907, allocations: 7.891 kB / 442.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.5907, allocations: 0 / 442.1 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.5909, allocations: 145.7 kB / 442.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.565e-05/0.591, allocations: 18.61 kB / 442.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.591, allocations: 6.984 kB / 442.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.591, allocations: 2.531 kB / 442.3 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/0.5911, allocations: 68.27 kB / 442.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.774e-06/0.5911, allocations: 4 kB / 442.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.5913, allocations: 59.39 kB / 442.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.5914, allocations: 77.11 kB / 442.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.768e-05/0.5914, allocations: 85 kB / 442.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.5915, allocations: 29.7 kB / 442.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.5915, allocations: 80.14 kB / 442.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.5915, allocations: 0 / 442.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.5916, allocations: 4.031 kB / 442.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5917, allocations: 314.8 kB / 443 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.5917, allocations: 0 / 443 MB, free: 13.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.5917, allocations: 4 kB / 443 MB, free: 13.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.498e-05/0.5918, allocations: 29.7 kB / 443 MB, free: 13.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5918, allocations: 0 / 443 MB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001029/0.5919, allocations: 67.33 kB / 443.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.592, allocations: 31.42 kB / 443.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.592, allocations: 96 / 443.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.592, allocations: 4 kB / 443.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.592, allocations: 0 / 443.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.592, allocations: 4 kB / 443.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.5921, allocations: 0 / 443.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.5921, allocations: 0 / 443.1 MB, free: 13.36 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 0.0001289/0.5922, allocations: 142.6 kB / 443.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.5923, allocations: 0 / 443.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.5923, allocations: 7.078 kB / 443.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.5923, allocations: 0 / 443.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5923, allocations: 5.781 kB / 443.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5923, allocations: 0 / 443.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.5925, allocations: 153.6 kB / 443.4 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5925, allocations: 0 / 443.4 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-06/0.5925, allocations: 7.922 kB / 443.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5925, allocations: 3.984 kB / 443.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.5925, allocations: 0.75 kB / 443.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5925, allocations: 0 / 443.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5925, allocations: 0 / 443.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.5927, allocations: 94.73 kB / 443.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.232e-05/0.5927, allocations: 85.09 kB / 443.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.5928, allocations: 3.312 kB / 443.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.5928, allocations: 4 kB / 443.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.5928, allocations: 0 / 443.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.5928, allocations: 0 / 443.6 MB, free: 12.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.5929, allocations: 75.28 kB / 443.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5929, allocations: 0 / 443.7 MB, free: 12.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003839/0.5933, allocations: 43.98 kB / 443.7 MB, free: 12.65 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.001005/0.5943, allocations: 0.7515 MB / 444.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.5945, allocations: 55.41 kB / 444.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5945, allocations: 0 / 444.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.648e-05/0.5945, allocations: 55.41 kB / 444.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001102/0.5946, allocations: 4 kB / 444.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.595, allocations: 109.4 kB / 444.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5953, allocations: 0.677 MB / 445.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.588e-06/0.5954, allocations: 3.984 kB / 445.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.5954, allocations: 7.438 kB / 445.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5954, allocations: 3.938 kB / 445.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.6175, allocations: 1.432 MB / 446.8 MB, free: 9.535 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003563/0.6179, allocations: 182.9 kB / 447 MB, free: 9.309 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.91, allocations: 0 / 447 MB, free: 9.309 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat