Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.771/1.771, allocations: 171.2 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.719e-05/2.727e-05, allocations: 0 / 219.6 MB, free: 6.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2829, allocations: 38.78 MB / 258.4 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9751/1.258, allocations: 327.9 MB / 0.5725 GB, free: 67.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/1.259, allocations: 88.75 kB / 0.5726 GB, free: 67.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5974/1.856, allocations: 86.74 MB / 0.6573 GB, free: 114.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/1.856, allocations: 0 / 0.6573 GB, free: 114.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.653e-05/1.856, allocations: 12.44 kB / 0.6573 GB, free: 114.3 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000903/1.857, allocations: 0.5249 MB / 0.6578 GB, free: 114 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.857, allocations: 6.812 kB / 0.6578 GB, free: 114 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/1.857, allocations: 44.2 kB / 0.6579 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/1.858, allocations: 282 kB / 0.6581 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.858, allocations: 8.734 kB / 0.6581 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/1.858, allocations: 14.75 kB / 0.6581 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004264/1.858, allocations: 180 kB / 0.6583 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/1.859, allocations: 260.2 kB / 0.6586 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/1.859, allocations: 0 / 0.6586 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/1.859, allocations: 0 / 0.6586 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.859, allocations: 6.438 kB / 0.6586 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/1.861, allocations: 1.231 MB / 0.6598 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/1.862, allocations: 171.8 kB / 0.6599 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/1.862, allocations: 78.27 kB / 0.66 GB, free: 112.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/1.862, allocations: 177.1 kB / 0.6602 GB, free: 112.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/1.862, allocations: 37.28 kB / 0.6602 GB, free: 112.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.687e-06/1.862, allocations: 0 / 0.6602 GB, free: 112.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002944/1.865, allocations: 0.7912 MB / 0.661 GB, free: 112.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/1.865, allocations: 55.16 kB / 0.661 GB, free: 112.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/1.866, allocations: 192.3 kB / 0.6612 GB, free: 112 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/1.866, allocations: 25.7 kB / 0.6613 GB, free: 112 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.866, allocations: 186.9 kB / 0.6614 GB, free: 111.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/1.866, allocations: 91 kB / 0.6615 GB, free: 111.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/1.866, allocations: 0 / 0.6615 GB, free: 111.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.073e-05/1.866, allocations: 332.2 kB / 0.6618 GB, free: 111.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/1.866, allocations: 70.09 kB / 0.6619 GB, free: 111.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/1.867, allocations: 167.4 kB / 0.6621 GB, free: 111.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/1.867, allocations: 106.2 kB / 0.6622 GB, free: 111.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.867, allocations: 3.938 kB / 0.6622 GB, free: 111.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009401/1.868, allocations: 402.2 kB / 0.6625 GB, free: 111.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.868, allocations: 10.47 kB / 0.6626 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.868, allocations: 0 / 0.6626 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/1.868, allocations: 45.25 kB / 0.6626 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/1.869, allocations: 81.33 kB / 0.6627 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/1.87, allocations: 2.462 MB / 0.6651 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/1.871, allocations: 19.67 kB / 0.6651 GB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/1.871, allocations: 14.19 kB / 0.6651 GB, free: 108.8 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002114/1.871, allocations: 121.2 kB / 0.6652 GB, free: 108.7 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006631/1.872, allocations: 314.6 kB / 0.6655 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/1.872, allocations: 30.73 kB / 0.6656 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/1.873, allocations: 329.6 kB / 0.6659 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.873, allocations: 0 / 0.6659 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.873, allocations: 6.5 kB / 0.6659 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005939/1.873, allocations: 0.6034 MB / 0.6665 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/1.874, allocations: 0.6905 MB / 0.6671 GB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.874, allocations: 0 / 0.6671 GB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/1.875, allocations: 61.16 kB / 0.6672 GB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.453e-05/1.875, allocations: 19.53 kB / 0.6672 GB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/1.875, allocations: 0 / 0.6672 GB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008/1.876, allocations: 1.23 MB / 0.6684 GB, free: 106.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.876, allocations: 3.188 kB / 0.6684 GB, free: 106.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000768/1.877, allocations: 0.4905 MB / 0.6689 GB, free: 106 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.877, allocations: 95.62 kB / 0.669 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/1.877, allocations: 3.625 kB / 0.669 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/1.877, allocations: 17.3 kB / 0.669 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/1.877, allocations: 24.09 kB / 0.669 GB, free: 105.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/1.877, allocations: 14.05 kB / 0.6691 GB, free: 105.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001623/1.878, allocations: 152.9 kB / 0.6692 GB, free: 105.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.878, allocations: 0 / 0.6692 GB, free: 105.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007088/1.878, allocations: 109.4 kB / 0.6693 GB, free: 105.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.001379/1.88, allocations: 1.243 MB / 0.6705 GB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000816/1.881, allocations: 418.8 kB / 0.6709 GB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.881, allocations: 0 / 0.6709 GB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/1.881, allocations: 207 kB / 0.6711 GB, free: 104.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/1.882, allocations: 124.7 kB / 0.6712 GB, free: 104.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/1.884, allocations: 0.508 MB / 0.6717 GB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/1.884, allocations: 0.7729 MB / 0.6725 GB, free: 103.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004211/1.884, allocations: 56.73 kB / 0.6725 GB, free: 103.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/1.885, allocations: 91 kB / 0.6726 GB, free: 103.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.924e-06/1.885, allocations: 2.812 kB / 0.6726 GB, free: 103.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04802/1.933, allocations: 8.318 MB / 0.6807 GB, free: 103.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/1.933, allocations: 148 kB / 0.6809 GB, free: 103 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/4.738, allocations: 2.844 kB / 0.6809 GB, free: 103 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat