Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.7/2.7, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.132e-05, allocations: 4 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4122, allocations: 58.82 MB / 382.3 MB, free: 10.35 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.959/2.371, allocations: 0.6403 GB / 1.014 GB, free: 109 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/2.372, allocations: 93.19 kB / 1.014 GB, free: 109 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.18/3.552, allocations: 231.6 MB / 1.24 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/3.552, allocations: 4 kB / 1.24 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.187e-05/3.552, allocations: 12.44 kB / 1.24 GB, free: 93.27 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004004/3.556, allocations: 1.161 MB / 1.241 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/3.556, allocations: 8.031 kB / 1.241 GB, free: 92.05 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/3.556, allocations: 102.4 kB / 1.241 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/3.557, allocations: 135 kB / 1.241 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/3.559, allocations: 0.5365 MB / 1.242 GB, free: 91.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/3.559, allocations: 104.3 kB / 1.242 GB, free: 91.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/3.559, allocations: 52 kB / 1.242 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/3.561, allocations: 0.7977 MB / 1.243 GB, free: 90.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/3.561, allocations: 4 kB / 1.243 GB, free: 90.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/3.561, allocations: 31.98 kB / 1.243 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.406e-05/3.561, allocations: 32.98 kB / 1.243 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/3.562, allocations: 0.5913 MB / 1.243 GB, free: 89.53 MB / 0.5105 GB 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.005648/3.568, allocations: 3.938 MB / 1.247 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/3.569, allocations: 325.3 kB / 1.248 GB, free: 85.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/3.569, allocations: 165.4 kB / 1.248 GB, free: 84.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/3.569, allocations: 25.05 kB / 1.248 GB, free: 84.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/3.569, allocations: 38.84 kB / 1.248 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.366e-06/3.569, allocations: 0 / 1.248 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.008374/3.578, allocations: 1.517 MB / 1.249 GB, free: 83.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/3.578, allocations: 136.5 kB / 1.249 GB, free: 83.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008976/3.579, allocations: 0.5383 MB / 1.25 GB, free: 82.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.306e-05/3.579, allocations: 29.7 kB / 1.25 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/3.579, allocations: 359 kB / 1.25 GB, free: 82.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/3.579, allocations: 149.9 kB / 1.25 GB, free: 81.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/3.579, allocations: 16 kB / 1.25 GB, free: 81.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001186/3.579, allocations: 374.8 kB / 1.251 GB, free: 81.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/3.58, allocations: 193.5 kB / 1.251 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/3.58, allocations: 0.4893 MB / 1.251 GB, free: 80.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/3.581, allocations: 292.1 kB / 1.252 GB, free: 80.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/3.581, allocations: 4 kB / 1.252 GB, free: 80.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001927/3.583, allocations: 0.833 MB / 1.253 GB, free: 79.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/3.583, allocations: 8.938 kB / 1.253 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/3.583, allocations: 12 kB / 1.253 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/3.585, allocations: 305 kB / 1.253 GB, free: 79.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/3.586, allocations: 119.8 kB / 1.253 GB, free: 79.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/3.587, allocations: 0.9343 MB / 1.254 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/3.588, allocations: 44.03 kB / 1.254 GB, free: 78.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/3.588, allocations: 64 kB / 1.254 GB, free: 78.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/3.589, allocations: 160.7 kB / 1.254 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/3.589, allocations: 67.16 kB / 1.254 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/3.591, allocations: 0.6706 MB / 1.255 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/3.591, allocations: 4 kB / 1.255 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/3.591, allocations: 0 / 1.255 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/3.591, allocations: 0 / 1.255 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002335/3.593, allocations: 1.25 MB / 1.256 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/3.593, allocations: 0 / 1.256 GB, free: 75.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/3.595, allocations: 211.8 kB / 1.256 GB, free: 75.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001183/3.596, allocations: 24.78 kB / 1.256 GB, free: 75.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/3.596, allocations: 16 kB / 1.256 GB, free: 75.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/3.598, allocations: 2.68 MB / 1.259 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/3.598, allocations: 4.031 kB / 1.259 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/3.599, allocations: 0.8179 MB / 1.26 GB, free: 71.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/3.6, allocations: 188.3 kB / 1.26 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/3.6, allocations: 8 kB / 1.26 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/3.6, allocations: 35.88 kB / 1.26 GB, free: 71.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/3.601, allocations: 39.91 kB / 1.26 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/3.601, allocations: 39.98 kB / 1.26 GB, free: 71.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006968/3.601, allocations: 427.2 kB / 1.26 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.6e-07/3.601, allocations: 0 / 1.26 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001738/3.603, allocations: 383.8 kB / 1.261 GB, free: 70.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.005047/3.608, allocations: 2.609 MB / 1.263 GB, free: 68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002241/3.611, allocations: 0.5237 MB / 1.264 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/3.611, allocations: 0 / 1.264 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/3.612, allocations: 389.5 kB / 1.264 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00276/3.615, allocations: 323.3 kB / 1.265 GB, free: 66.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/3.618, allocations: 1.151 MB / 1.266 GB, free: 65.56 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/3.619, allocations: 0.9455 MB / 1.267 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001681/3.62, allocations: 262 kB / 1.267 GB, free: 64.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/3.621, allocations: 271.3 kB / 1.267 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of SimCode: time 1.272e-06/3.621, allocations: 0 / 1.267 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1264/3.747, allocations: 38.79 MB / 1.305 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/3.748, allocations: 247.5 kB / 1.305 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.194/7.942, allocations: 0 / 1.305 GB, free: 24.95 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat