Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.834e-05, allocations: 0 / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4024, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.5483, allocations: 78.9 MB / 433.2 MB, free: 3.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.5486, allocations: 63.91 kB / 433.3 MB, free: 3.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00651/0.5552, allocations: 1.625 MB / 434.9 MB, free: 1.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5552, allocations: 0 / 434.9 MB, free: 1.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.5552, allocations: 0 / 434.9 MB, free: 1.621 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.0003598/0.5556, allocations: 352.2 kB / 435.3 MB, free: 1.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5557, allocations: 8.031 kB / 435.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.5557, allocations: 15.8 kB / 435.3 MB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.5559, allocations: 167.1 kB / 435.4 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5559, allocations: 0 / 435.4 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.5559, allocations: 0 / 435.4 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.907e-05/0.556, allocations: 0 / 435.4 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.52e-05/0.556, allocations: 33.64 kB / 435.5 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5561, allocations: 0 / 435.5 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.5561, allocations: 0 / 435.5 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5561, allocations: 3.953 kB / 435.5 MB, free: 0.957 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.5562, allocations: 134.2 kB / 435.6 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.5563, allocations: 22.59 kB / 435.6 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.5563, allocations: 4.859 kB / 435.6 MB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.5563, allocations: 0 / 435.6 MB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.5564, allocations: 60.33 kB / 435.7 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.562e-06/0.5564, allocations: 4 kB / 435.7 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001827/0.5566, allocations: 33.64 kB / 435.7 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.5567, allocations: 89.12 kB / 435.8 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.307e-05/0.5568, allocations: 89 kB / 435.9 MB, free: 444 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.5568, allocations: 25.7 kB / 435.9 MB, free: 412 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.5568, allocations: 80.14 kB / 436 MB, free: 328 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.5569, allocations: 0 / 436 MB, free: 328 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.5569, allocations: 0 / 436 MB, free: 328 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.557, allocations: 314.8 kB / 436.3 MB, free: 4 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.5571, allocations: 8.172 kB / 436.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.984e-06/0.5571, allocations: 0 / 436.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.5571, allocations: 0 / 436.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5571, allocations: 0 / 436.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001046/0.5573, allocations: 41.64 kB / 436.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.5573, allocations: 35.27 kB / 436.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5573, allocations: 0 / 436.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5574, allocations: 0 / 436.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-06/0.5574, allocations: 3.938 kB / 436.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5574, allocations: 0 / 436.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.5574, allocations: 8.031 kB / 436.4 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.5574, allocations: 0 / 436.4 MB, free: 15.9 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.0001055/0.5576, allocations: 140.2 kB / 436.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.282e-05/0.5577, allocations: 37.64 kB / 436.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.111e-05/0.5577, allocations: 4 kB / 436.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.5577, allocations: 7.703 kB / 436.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.5577, allocations: 0 / 436.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5577, allocations: 0 / 436.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.5577, allocations: 3.984 kB / 436.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.5579, allocations: 134.2 kB / 436.7 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5579, allocations: 4 kB / 436.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.5579, allocations: 0 / 436.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5579, allocations: 0 / 436.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.5579, allocations: 3.984 kB / 436.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.5579, allocations: 0 / 436.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5579, allocations: 0 / 436.7 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.5581, allocations: 73.02 kB / 436.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.5581, allocations: 81.14 kB / 436.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.5582, allocations: 0 / 436.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.67e-05/0.5582, allocations: 0 / 436.9 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.5582, allocations: 7.984 kB / 436.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.5582, allocations: 0 / 436.9 MB, free: 15.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.742e-05/0.5583, allocations: 75.28 kB / 437 MB, free: 15.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5583, allocations: 0 / 437 MB, free: 15.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000322/0.5586, allocations: 20 kB / 437 MB, free: 15.23 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.0008867/0.5595, allocations: 0.6989 MB / 437.7 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.5597, allocations: 59.41 kB / 437.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5597, allocations: 0 / 437.8 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.5597, allocations: 59.39 kB / 437.8 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.5599, allocations: 0 / 437.8 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.5602, allocations: 102 kB / 437.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.5606, allocations: 0.669 MB / 438.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.384e-05/0.5606, allocations: 4 kB / 438.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.5606, allocations: 7.438 kB / 438.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5606, allocations: 0 / 438.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04087/0.6015, allocations: 0.9478 MB / 439.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004254/0.602, allocations: 153.8 kB / 439.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/2.851, allocations: 4.031 kB / 439.7 MB, free: 12.42 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat