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.556/2.556, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.445e-05/4.482e-05, allocations: 7.984 kB / 305 MB, free: 5.098 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4726, allocations: 54.86 MB / 359.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.6294, allocations: 79.61 MB / 439.5 MB, free: 1.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.6297, allocations: 55.98 kB / 439.5 MB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00857/0.6383, allocations: 1.946 MB / 441.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.6384, allocations: 0 / 441.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.6384, allocations: 4 kB / 441.5 MB, free: 15.34 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.0004239/0.6388, allocations: 357.3 kB / 441.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.6389, allocations: 12.03 kB / 441.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.6389, allocations: 34.56 kB / 441.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.639, allocations: 3.953 kB / 441.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.6391, allocations: 163.1 kB / 442 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.6392, allocations: 0 / 442 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.6392, allocations: 4 kB / 442 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.6393, allocations: 34.67 kB / 442.1 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6394, allocations: 3.938 kB / 442.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.6394, allocations: 0 / 442.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.6394, allocations: 3.953 kB / 442.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.6394, allocations: 4 kB / 442.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.6396, allocations: 149.7 kB / 442.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.274e-05/0.6397, allocations: 22.59 kB / 442.2 MB, free: 14.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.6397, allocations: 4.859 kB / 442.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.6397, allocations: 0 / 442.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.672e-05/0.6398, allocations: 64.2 kB / 442.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.6398, allocations: 0 / 442.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001827/0.64, allocations: 64.78 kB / 442.4 MB, free: 14.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.6401, allocations: 77.11 kB / 442.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/0.6402, allocations: 88.98 kB / 442.5 MB, free: 14.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.6402, allocations: 25.7 kB / 442.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.6402, allocations: 84.14 kB / 442.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.6403, allocations: 0 / 442.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.6403, allocations: 0 / 442.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.6404, allocations: 314.8 kB / 442.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.6405, allocations: 8.031 kB / 443 MB, free: 13.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.6405, allocations: 4 kB / 443 MB, free: 13.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.6405, allocations: 25.7 kB / 443 MB, free: 13.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6405, allocations: 0 / 443 MB, free: 13.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.6407, allocations: 63.34 kB / 443 MB, free: 13.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.6407, allocations: 33.69 kB / 443.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6407, allocations: 1.312 kB / 443.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.6408, allocations: 0 / 443.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.6408, allocations: 0 / 443.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6408, allocations: 8.094 kB / 443.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.196e-05/0.6408, allocations: 0 / 443.1 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.6408, allocations: 0 / 443.1 MB, free: 13.45 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.0001119/0.641, allocations: 130.6 kB / 443.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.641, allocations: 4 kB / 443.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.641, allocations: 7.078 kB / 443.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.641, allocations: 0 / 443.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.641, allocations: 0 / 443.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.6411, allocations: 3.984 kB / 443.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.6412, allocations: 153.6 kB / 443.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.6412, allocations: 8 kB / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/0.6412, allocations: 1.469 kB / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6412, allocations: 0 / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.6413, allocations: 0 / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.6413, allocations: 0 / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6413, allocations: 0 / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.6414, allocations: 98.72 kB / 443.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.6415, allocations: 83.64 kB / 443.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.6415, allocations: 1.219 kB / 443.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.6416, allocations: 4 kB / 443.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.6416, allocations: 3.984 kB / 443.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.6416, allocations: 0 / 443.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.6416, allocations: 75.28 kB / 443.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6417, allocations: 0 / 443.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.642, allocations: 40 kB / 443.7 MB, free: 12.75 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.001034/0.6431, allocations: 0.7628 MB / 444.5 MB, free: 12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.6432, allocations: 59.41 kB / 444.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6432, allocations: 0 / 444.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/0.6433, allocations: 63.38 kB / 444.6 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.805e-05/0.6434, allocations: 0 / 444.6 MB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.6438, allocations: 101.3 kB / 444.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.6441, allocations: 0.6731 MB / 445.3 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.983e-06/0.6441, allocations: 8.062 kB / 445.4 MB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.6441, allocations: 7.438 kB / 445.4 MB, free: 11 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6442, allocations: 0 / 445.4 MB, free: 11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.6779, allocations: 1.441 MB / 446.8 MB, free: 9.625 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00032/0.6783, allocations: 184.7 kB / 447 MB, free: 9.395 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.965, allocations: 0 / 447 MB, free: 9.395 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