Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 235 MB / 247.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.946e-05, allocations: 0 / 305 MB, free: 5.094 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4045, allocations: 54.86 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.661, allocations: 372.6 MB / 0.7153 GB, free: 147 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.662, allocations: 74.22 kB / 0.7154 GB, free: 147 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07846/1.74, allocations: 21.16 MB / 0.736 GB, free: 145.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.74, allocations: 3.938 kB / 0.736 GB, free: 145.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/1.74, allocations: 3.906 kB / 0.736 GB, free: 145.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001623/1.742, allocations: 0.5748 MB / 0.7366 GB, free: 144.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.742, allocations: 7.875 kB / 0.7366 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.051e-05/1.742, allocations: 57.22 kB / 0.7366 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/1.742, allocations: 27.09 kB / 0.7367 GB, free: 144.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/1.743, allocations: 223.9 kB / 0.7369 GB, free: 144.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/1.743, allocations: 126 kB / 0.737 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/1.743, allocations: 23.22 kB / 0.737 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007708/1.744, allocations: 318.4 kB / 0.7373 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/1.744, allocations: 0 / 0.7373 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/1.744, allocations: 15.31 kB / 0.7373 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.199e-05/1.744, allocations: 7.891 kB / 0.7374 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/1.745, allocations: 0.7371 MB / 0.7381 GB, free: 144.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/1.747, allocations: 1.148 MB / 0.7392 GB, free: 143.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/1.748, allocations: 163.4 kB / 0.7393 GB, free: 143.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/1.748, allocations: 84.45 kB / 0.7394 GB, free: 143.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003965/1.752, allocations: 2.852 MB / 0.7422 GB, free: 140.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.752, allocations: 34.12 kB / 0.7422 GB, free: 140.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.596e-06/1.752, allocations: 7.844 kB / 0.7423 GB, free: 140.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.001132/1.754, allocations: 205.5 kB / 0.7424 GB, free: 140.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/1.754, allocations: 51.41 kB / 0.7425 GB, free: 140.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/1.754, allocations: 185.2 kB / 0.7427 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/1.754, allocations: 28.95 kB / 0.7427 GB, free: 140.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/1.754, allocations: 207.7 kB / 0.7429 GB, free: 140.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/1.754, allocations: 61.78 kB / 0.743 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/1.754, allocations: 7 kB / 0.743 GB, free: 140.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/1.754, allocations: 329.5 kB / 0.7433 GB, free: 140 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/1.755, allocations: 46.34 kB / 0.7433 GB, free: 140 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/1.755, allocations: 312.7 kB / 0.7436 GB, free: 139.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/1.755, allocations: 100.1 kB / 0.7437 GB, free: 139.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/1.755, allocations: 7.844 kB / 0.7437 GB, free: 139.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001105/1.757, allocations: 375.2 kB / 0.7441 GB, free: 139.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/1.757, allocations: 9.562 kB / 0.7441 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.757, allocations: 11.72 kB / 0.7441 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.972e-05/1.757, allocations: 15.75 kB / 0.7441 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/1.758, allocations: 105 kB / 0.7442 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.14e-05/1.758, allocations: 23.62 kB / 0.7442 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/1.758, allocations: 18.72 kB / 0.7443 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/1.758, allocations: 30.58 kB / 0.7443 GB, free: 139.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * 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.0001432/1.758, allocations: 143.3 kB / 0.7444 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/1.759, allocations: 23.39 kB / 0.7444 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/1.759, allocations: 179 kB / 0.7446 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/1.759, allocations: 3.906 kB / 0.7446 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.759, allocations: 4 kB / 0.7446 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.759, allocations: 3.938 kB / 0.7446 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009133/1.76, allocations: 458.7 kB / 0.7451 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.76, allocations: 0 / 0.7451 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/1.761, allocations: 34.64 kB / 0.7451 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/1.761, allocations: 3.875 kB / 0.7451 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/1.761, allocations: 0 / 0.7451 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.761, allocations: 3.812 kB / 0.7451 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.761, allocations: 0 / 0.7451 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/1.761, allocations: 259.3 kB / 0.7454 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/1.761, allocations: 119 kB / 0.7455 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/1.761, allocations: 3.562 kB / 0.7455 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/1.762, allocations: 15.61 kB / 0.7455 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/1.762, allocations: 11.84 kB / 0.7455 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/1.762, allocations: 15.36 kB / 0.7455 GB, free: 138.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001916/1.762, allocations: 142.3 kB / 0.7456 GB, free: 138.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.762, allocations: 0 / 0.7456 GB, free: 138.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001146/1.763, allocations: 92.88 kB / 0.7457 GB, free: 138.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * 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.0009251/1.764, allocations: 1.076 MB / 0.7468 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005447/1.765, allocations: 179.2 kB / 0.747 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.765, allocations: 0 / 0.747 GB, free: 137.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/1.765, allocations: 30.88 kB / 0.747 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/1.766, allocations: 42.38 kB / 0.747 GB, free: 137.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/1.791, allocations: 5.705 MB / 0.7526 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/1.792, allocations: 0.7361 MB / 0.7533 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006088/1.792, allocations: 54.34 kB / 0.7534 GB, free: 134.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/1.793, allocations: 68.16 kB / 0.7534 GB, free: 134.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/1.793, allocations: 0 / 0.7534 GB, free: 134.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/1.824, allocations: 5.505 MB / 0.7588 GB, free: 131.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/1.824, allocations: 156.4 kB / 0.759 GB, free: 131.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/4.339, allocations: 0 / 0.759 GB, free: 131.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat