Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.37/2.37, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.401e-05, allocations: 4.125 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 44.5 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.176/2.286, allocations: 0.5854 GB / 0.8728 GB, free: 51.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/2.286, allocations: 90.56 kB / 0.8729 GB, free: 51.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9153/3.202, allocations: 151.6 MB / 1.021 GB, free: 59.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/3.202, allocations: 0 / 1.021 GB, free: 59.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.188e-05/3.202, allocations: 15.2 kB / 1.021 GB, free: 59.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001349/3.203, allocations: 0.6008 MB / 1.021 GB, free: 59.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/3.203, allocations: 8.031 kB / 1.021 GB, free: 59.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004508/3.204, allocations: 35.72 kB / 1.022 GB, free: 59.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/3.204, allocations: 275.5 kB / 1.022 GB, free: 58.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/3.204, allocations: 8 kB / 1.022 GB, free: 58.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/3.204, allocations: 16 kB / 1.022 GB, free: 58.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005324/3.205, allocations: 185 kB / 1.022 GB, free: 58.65 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/3.206, allocations: 270.7 kB / 1.022 GB, free: 58.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/3.206, allocations: 7.875 kB / 1.022 GB, free: 58.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/3.206, allocations: 3.953 kB / 1.022 GB, free: 58.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/3.206, allocations: 12 kB / 1.022 GB, free: 58.34 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/3.208, allocations: 1.547 MB / 1.024 GB, free: 56.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/3.209, allocations: 134.7 kB / 1.024 GB, free: 56.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/3.209, allocations: 80.78 kB / 1.024 GB, free: 56.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-05/3.209, allocations: 4 kB / 1.024 GB, free: 56.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/3.209, allocations: 46.86 kB / 1.024 GB, free: 56.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.437e-06/3.209, allocations: 0 / 1.024 GB, free: 56.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.008241/3.217, allocations: 0.9946 MB / 1.025 GB, free: 55.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/3.217, allocations: 51.41 kB / 1.025 GB, free: 55.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/3.218, allocations: 203.9 kB / 1.025 GB, free: 55.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/3.218, allocations: 29.7 kB / 1.025 GB, free: 55.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/3.218, allocations: 183.8 kB / 1.025 GB, free: 54.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/3.218, allocations: 82.75 kB / 1.026 GB, free: 54.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/3.218, allocations: 0 / 1.026 GB, free: 54.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/3.218, allocations: 338.8 kB / 1.026 GB, free: 54.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/3.218, allocations: 75.98 kB / 1.026 GB, free: 54.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/3.219, allocations: 175.8 kB / 1.026 GB, free: 54.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/3.219, allocations: 107.9 kB / 1.026 GB, free: 54.01 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/3.219, allocations: 0 / 1.026 GB, free: 54.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001042/3.22, allocations: 362.9 kB / 1.027 GB, free: 53.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/3.22, allocations: 4 kB / 1.027 GB, free: 53.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/3.22, allocations: 7.984 kB / 1.027 GB, free: 53.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003309/3.22, allocations: 65.67 kB / 1.027 GB, free: 53.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/3.221, allocations: 83.84 kB / 1.027 GB, free: 53.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/3.223, allocations: 1.824 MB / 1.028 GB, free: 51.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/3.223, allocations: 19.84 kB / 1.028 GB, free: 51.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/3.223, allocations: 39.98 kB / 1.029 GB, free: 51.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001659/3.224, allocations: 112.9 kB / 1.029 GB, free: 51.34 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007518/3.224, allocations: 259 kB / 1.029 GB, free: 51.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/3.225, allocations: 23.75 kB / 1.029 GB, free: 51.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/3.226, allocations: 348.3 kB / 1.029 GB, free: 50.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/3.226, allocations: 4 kB / 1.029 GB, free: 50.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/3.226, allocations: 3.984 kB / 1.029 GB, free: 50.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000705/3.227, allocations: 0.5396 MB / 1.03 GB, free: 50.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/3.228, allocations: 0.6549 MB / 1.03 GB, free: 49.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/3.228, allocations: 7.984 kB / 1.03 GB, free: 49.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/3.229, allocations: 75.95 kB / 1.03 GB, free: 49.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/3.229, allocations: 20.78 kB / 1.03 GB, free: 49.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/3.229, allocations: 12 kB / 1.031 GB, free: 49.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009606/3.23, allocations: 1.233 MB / 1.032 GB, free: 47.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/3.23, allocations: 3.984 kB / 1.032 GB, free: 47.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/3.231, allocations: 472.9 kB / 1.032 GB, free: 47.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/3.231, allocations: 96.86 kB / 1.032 GB, free: 47.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/3.231, allocations: 7.984 kB / 1.032 GB, free: 47.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/3.232, allocations: 7.938 kB / 1.032 GB, free: 47.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/3.232, allocations: 32.03 kB / 1.032 GB, free: 47.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.846e-05/3.232, allocations: 31.94 kB / 1.032 GB, free: 47.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002195/3.232, allocations: 156.5 kB / 1.032 GB, free: 47.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/3.232, allocations: 0 / 1.032 GB, free: 47.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001135/3.234, allocations: 167.1 kB / 1.033 GB, free: 46.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/3.237, allocations: 1.946 MB / 1.035 GB, free: 45.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/3.238, allocations: 346 kB / 1.035 GB, free: 44.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/3.238, allocations: 4 kB / 1.035 GB, free: 44.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003981/3.238, allocations: 218.3 kB / 1.035 GB, free: 44.44 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/3.24, allocations: 120.2 kB / 1.035 GB, free: 44.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/3.242, allocations: 0.5514 MB / 1.036 GB, free: 43.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/3.242, allocations: 0.7679 MB / 1.036 GB, free: 42.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001177/3.243, allocations: 111.2 kB / 1.037 GB, free: 42.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/3.244, allocations: 123.4 kB / 1.037 GB, free: 42.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/3.244, allocations: 0 / 1.037 GB, free: 42.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07875/3.322, allocations: 15.24 MB / 1.052 GB, free: 27.46 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003267/3.323, allocations: 154.4 kB / 1.052 GB, free: 27.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.846/7.169, allocations: 0 / 1.052 GB, free: 27.27 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat