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.419/2.419, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.856e-05, allocations: 4 kB / 299.5 MB, free: 6.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4388, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.5937, allocations: 78.94 MB / 433.3 MB, free: 3.258 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.594, allocations: 63.97 kB / 433.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01012/0.6042, allocations: 1.929 MB / 435.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6042, allocations: 0 / 435.3 MB, free: 1.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.6042, allocations: 0 / 435.3 MB, free: 1.27 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.0005318/0.6048, allocations: 368.2 kB / 435.6 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.6049, allocations: 16.02 kB / 435.6 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.6049, allocations: 7.891 kB / 435.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.6051, allocations: 163.1 kB / 435.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.6051, allocations: 0 / 435.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.6051, allocations: 0 / 435.8 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.656e-05/0.6052, allocations: 4 kB / 435.8 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.102e-05/0.6053, allocations: 25.7 kB / 435.8 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6053, allocations: 4 kB / 435.8 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.6053, allocations: 3.938 kB / 435.8 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.6053, allocations: 3.953 kB / 435.8 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.6055, allocations: 130.2 kB / 436 MB, free: 436 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.111e-05/0.6056, allocations: 18.52 kB / 436 MB, free: 408 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.6056, allocations: 4.859 kB / 436 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.6057, allocations: 0 / 436 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.259e-05/0.6057, allocations: 68.36 kB / 436.1 MB, free: 316 kB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.6058, allocations: 0 / 436.1 MB, free: 316 kB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002012/0.606, allocations: 33.61 kB / 436.1 MB, free: 276 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.6061, allocations: 81.09 kB / 436.2 MB, free: 176 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.622e-05/0.6061, allocations: 85 kB / 436.3 MB, free: 84 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.6062, allocations: 29.7 kB / 436.3 MB, free: 48 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.6063, allocations: 80.14 kB / 436.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.6063, allocations: 0 / 436.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.6063, allocations: 0 / 436.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6065, allocations: 318.8 kB / 436.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.6065, allocations: 3.938 kB / 436.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.6065, allocations: 0 / 436.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.6066, allocations: 4 kB / 436.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.6066, allocations: 0 / 436.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001283/0.6068, allocations: 33.7 kB / 436.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.6068, allocations: 37.69 kB / 436.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6068, allocations: 0 / 436.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.6069, allocations: 96 / 436.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.6069, allocations: 4 kB / 436.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6069, allocations: 3.984 kB / 436.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.554e-05/0.607, allocations: 0 / 436.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.607, allocations: 4 kB / 436.8 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.0001209/0.6071, allocations: 130.6 kB / 436.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001223/0.6073, allocations: 41.62 kB / 436.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.6073, allocations: 4 kB / 436.9 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.453e-05/0.6073, allocations: 7.703 kB / 436.9 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6073, allocations: 4.031 kB / 437 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6074, allocations: 0 / 437 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6074, allocations: 0 / 437 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.6075, allocations: 134.1 kB / 437.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.6076, allocations: 7.922 kB / 437.1 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.6076, allocations: 7.984 kB / 437.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6076, allocations: 0 / 437.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.6076, allocations: 0 / 437.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.6076, allocations: 4 kB / 437.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6076, allocations: 0 / 437.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.6078, allocations: 69.08 kB / 437.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.6079, allocations: 85.09 kB / 437.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.6079, allocations: 0 / 437.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.608, allocations: 0 / 437.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.608, allocations: 0 / 437.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.608, allocations: 0 / 437.3 MB, free: 14.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.6081, allocations: 83.22 kB / 437.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6081, allocations: 0 / 437.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006336/0.6088, allocations: 48.02 kB / 437.4 MB, free: 14.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.001296/0.6101, allocations: 0.7072 MB / 438.1 MB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.6102, allocations: 63.39 kB / 438.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6102, allocations: 3.938 kB / 438.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.6103, allocations: 55.47 kB / 438.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.6105, allocations: 4 kB / 438.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.611, allocations: 102 kB / 438.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.6114, allocations: 0.6729 MB / 439 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.384e-06/0.6114, allocations: 0 / 439 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.6115, allocations: 7.438 kB / 439 MB, free: 13.14 MB / 378.7 MB Notification: Performance of SimCode: time 4.679e-06/0.6115, allocations: 0 / 439 MB, free: 13.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05291/0.6644, allocations: 1.177 MB / 440.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.6647, allocations: 147.2 kB / 440.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.932, allocations: 0 / 440.3 MB, free: 11.78 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