Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.142e-05, allocations: 0 / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 50.41 MB / 342.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.604/1.728, allocations: 443.4 MB / 0.7676 GB, free: 109.9 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.729, allocations: 70.97 kB / 0.7677 GB, free: 109.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1088/1.837, allocations: 25.39 MB / 0.7925 GB, free: 88.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.838, allocations: 0 / 0.7925 GB, free: 88.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/1.838, allocations: 4 kB / 0.7925 GB, free: 88.41 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001141/1.839, allocations: 437.9 kB / 0.7929 GB, free: 87.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.839, allocations: 8.031 kB / 0.7929 GB, free: 87.93 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/1.839, allocations: 42.17 kB / 0.793 GB, free: 87.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/1.849, allocations: 455.9 kB / 0.7934 GB, free: 87.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/1.849, allocations: 171 kB / 0.7936 GB, free: 87.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/1.849, allocations: 7.312 kB / 0.7936 GB, free: 87.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.849, allocations: 11.94 kB / 0.7936 GB, free: 87.26 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/1.85, allocations: 266.2 kB / 0.7938 GB, free: 87.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/1.85, allocations: 0 / 0.7938 GB, free: 87.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/1.85, allocations: 3.938 kB / 0.7938 GB, free: 87.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.85, allocations: 4 kB / 0.7938 GB, free: 87.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/1.851, allocations: 226.2 kB / 0.7941 GB, free: 86.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/1.853, allocations: 423.7 kB / 0.7945 GB, free: 86.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.854, allocations: 187.1 kB / 0.7946 GB, free: 86.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/1.854, allocations: 62.66 kB / 0.7947 GB, free: 86.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/1.854, allocations: 7.938 kB / 0.7947 GB, free: 86.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/1.854, allocations: 34.52 kB / 0.7947 GB, free: 86.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 3.136e-06/1.854, allocations: 0 / 0.7947 GB, free: 86.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001939/1.856, allocations: 304.7 kB / 0.795 GB, free: 86.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/1.856, allocations: 59.41 kB / 0.7951 GB, free: 85.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/1.857, allocations: 96.17 kB / 0.7952 GB, free: 85.85 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/1.857, allocations: 25.7 kB / 0.7952 GB, free: 85.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/1.857, allocations: 99.7 kB / 0.7953 GB, free: 85.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/1.857, allocations: 54.31 kB / 0.7954 GB, free: 85.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/1.857, allocations: 7.625 kB / 0.7954 GB, free: 85.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.538e-05/1.857, allocations: 318.2 kB / 0.7957 GB, free: 85.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/1.857, allocations: 58.62 kB / 0.7957 GB, free: 85.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/1.857, allocations: 104 kB / 0.7958 GB, free: 85.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/1.857, allocations: 72.22 kB / 0.7959 GB, free: 85.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.858, allocations: 0 / 0.7959 GB, free: 85.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005798/1.858, allocations: 204.2 kB / 0.7961 GB, free: 85.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.858, allocations: 8 kB / 0.7961 GB, free: 85.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.858, allocations: 0 / 0.7961 GB, free: 85.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/1.858, allocations: 7.938 kB / 0.7961 GB, free: 85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/1.859, allocations: 55.56 kB / 0.7962 GB, free: 84.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.859, allocations: 3.938 kB / 0.7962 GB, free: 84.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/1.859, allocations: 11.98 kB / 0.7962 GB, free: 84.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/1.859, allocations: 15.3 kB / 0.7962 GB, free: 84.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * 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.0001112/1.86, allocations: 112.6 kB / 0.7963 GB, free: 84.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/1.86, allocations: 11.86 kB / 0.7963 GB, free: 84.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008401/1.861, allocations: 243 kB / 0.7965 GB, free: 84.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.861, allocations: 4 kB / 0.7965 GB, free: 84.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.861, allocations: 0 / 0.7965 GB, free: 84.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.861, allocations: 0 / 0.7965 GB, free: 84.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/1.862, allocations: 0.5254 MB / 0.797 GB, free: 84.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.862, allocations: 4 kB / 0.7971 GB, free: 84.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/1.863, allocations: 48.02 kB / 0.7971 GB, free: 84.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/1.863, allocations: 0 / 0.7971 GB, free: 84.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/1.863, allocations: 11.62 kB / 0.7971 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.863, allocations: 0 / 0.7971 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.863, allocations: 0 / 0.7971 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/1.863, allocations: 317.3 kB / 0.7974 GB, free: 83.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/1.863, allocations: 85.02 kB / 0.7975 GB, free: 83.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.801e-05/1.864, allocations: 0 / 0.7975 GB, free: 83.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/1.864, allocations: 19.31 kB / 0.7975 GB, free: 83.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/1.864, allocations: 19.72 kB / 0.7975 GB, free: 83.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/1.864, allocations: 8 kB / 0.7975 GB, free: 83.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.798e-05/1.864, allocations: 87.27 kB / 0.7976 GB, free: 83.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.813e-06/1.864, allocations: 0 / 0.7976 GB, free: 83.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006358/1.865, allocations: 81.42 kB / 0.7977 GB, free: 83.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * 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.001622/1.866, allocations: 1.406 MB / 0.7991 GB, free: 82.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000587/1.867, allocations: 157.6 kB / 0.7992 GB, free: 81.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.867, allocations: 0 / 0.7992 GB, free: 81.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/1.867, allocations: 80.17 kB / 0.7993 GB, free: 81.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/1.868, allocations: 35.02 kB / 0.7993 GB, free: 81.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.869, allocations: 209.6 kB / 0.7995 GB, free: 81.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/1.869, allocations: 0.6974 MB / 0.8002 GB, free: 80.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000705/1.87, allocations: 60.5 kB / 0.8003 GB, free: 80.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/1.87, allocations: 42.66 kB / 0.8003 GB, free: 80.85 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/1.87, allocations: 3.938 kB / 0.8003 GB, free: 80.85 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04103/1.911, allocations: 13.35 MB / 0.8133 GB, free: 67.57 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/1.912, allocations: 135.4 kB / 0.8135 GB, free: 67.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/5.017, allocations: 4.062 kB / 0.8135 GB, free: 67.35 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat