Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestReadFile",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.647/2.647, allocations: 235.1 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.822e-05, allocations: 4 kB / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4089, allocations: 54.87 MB / 354.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.5693, allocations: 78.89 MB / 433.3 MB, free: 3.305 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5696, allocations: 67.97 kB / 433.4 MB, free: 3.238 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009457/0.5791, allocations: 1.975 MB / 435.4 MB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5792, allocations: 0 / 435.4 MB, free: 1.266 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.5792, allocations: 0 / 435.4 MB, free: 1.266 MB / 362.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.0003573/0.5795, allocations: 360.2 kB / 435.7 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5796, allocations: 8.031 kB / 435.7 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.5797, allocations: 11.86 kB / 435.7 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.5798, allocations: 167.1 kB / 435.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5798, allocations: 0 / 435.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.5799, allocations: 0 / 435.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.01e-05/0.5799, allocations: 3.938 kB / 435.9 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.487e-05/0.58, allocations: 29.7 kB / 435.9 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.58, allocations: 0 / 435.9 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.58, allocations: 0 / 435.9 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5801, allocations: 3.953 kB / 435.9 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.5802, allocations: 138.3 kB / 436.1 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.445e-05/0.5803, allocations: 14.58 kB / 436.1 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.5803, allocations: 4.859 kB / 436.1 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.5803, allocations: 0 / 436.1 MB, free: 404 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.741e-05/0.5804, allocations: 60.33 kB / 436.1 MB, free: 328 kB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 4.268e-06/0.5804, allocations: 0 / 436.1 MB, free: 328 kB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001982/0.5806, allocations: 37.62 kB / 436.2 MB, free: 284 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.5807, allocations: 85.14 kB / 436.3 MB, free: 180 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.5808, allocations: 89 kB / 436.4 MB, free: 84 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5808, allocations: 25.7 kB / 436.4 MB, free: 52 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.5809, allocations: 80.14 kB / 436.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.5809, allocations: 0 / 436.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.5809, allocations: 0 / 436.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5811, allocations: 322.7 kB / 436.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.5811, allocations: 0 / 436.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.5811, allocations: 4.125 kB / 436.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.003e-05/0.5812, allocations: 0 / 436.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5812, allocations: 4 kB / 436.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001119/0.5813, allocations: 37.62 kB / 436.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.5814, allocations: 37.7 kB / 436.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5814, allocations: 0 / 436.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5814, allocations: 0 / 436.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.5814, allocations: 0 / 436.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.5815, allocations: 0 / 436.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.5815, allocations: 3.938 kB / 436.9 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.5815, allocations: 8.094 kB / 436.9 MB, free: 15.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 0.0001116/0.5817, allocations: 134.6 kB / 437 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001084/0.5818, allocations: 37.7 kB / 437 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.5818, allocations: 0 / 437 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.613e-05/0.5818, allocations: 7.703 kB / 437 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.5818, allocations: 3.984 kB / 437 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5819, allocations: 0 / 437 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5819, allocations: 3.984 kB / 437.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.582, allocations: 130.2 kB / 437.2 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.582, allocations: 8.031 kB / 437.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/0.582, allocations: 0 / 437.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.582, allocations: 0 / 437.2 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.5821, allocations: 4 kB / 437.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5821, allocations: 0 / 437.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5821, allocations: 3.938 kB / 437.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.5822, allocations: 65.08 kB / 437.3 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.5823, allocations: 81.14 kB / 437.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.5823, allocations: 3.984 kB / 437.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.5824, allocations: 4 kB / 437.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.5824, allocations: 4 kB / 437.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-06/0.5824, allocations: 0 / 437.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.005e-05/0.5825, allocations: 75.28 kB / 437.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5825, allocations: 0 / 437.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003819/0.5829, allocations: 27.92 kB / 437.4 MB, free: 14.87 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.0009572/0.5838, allocations: 0.7033 MB / 438.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.584, allocations: 59.41 kB / 438.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.584, allocations: 0 / 438.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.5841, allocations: 55.41 kB / 438.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.5842, allocations: 0 / 438.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.5863, allocations: 0.5313 MB / 438.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.5867, allocations: 0.6768 MB / 439.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.08e-05/0.5867, allocations: 0 / 439.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.5867, allocations: 15.38 kB / 439.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5867, allocations: 0 / 439.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/0.7225, allocations: 0.9732 MB / 440.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003256/0.7229, allocations: 166.4 kB / 440.6 MB, free: 11.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.792/3.515, allocations: 0 / 440.6 MB, free: 11.59 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat