Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.594/2.594, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.585e-05, allocations: 4 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4546, allocations: 58.84 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.338/1.793, allocations: 429.6 MB / 0.7929 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/1.794, allocations: 95.25 kB / 0.793 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4997/2.293, allocations: 133.5 MB / 0.9234 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/2.293, allocations: 0 / 0.9234 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.772e-05/2.293, allocations: 12.44 kB / 0.9234 GB, free: 2.625 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.002788/2.296, allocations: 0.9041 MB / 0.9243 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/2.296, allocations: 8.031 kB / 0.9243 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/2.297, allocations: 98.5 kB / 0.9244 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005132/2.297, allocations: 91.02 kB / 0.9244 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/2.299, allocations: 0.5405 MB / 0.925 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/2.299, allocations: 108.4 kB / 0.9251 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/2.299, allocations: 48 kB / 0.9251 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3485/2.647, allocations: 0.7858 MB / 0.9259 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/2.647, allocations: 2.75 kB / 0.9259 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/2.648, allocations: 24.16 kB / 0.9259 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/2.648, allocations: 40.59 kB / 0.926 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/2.65, allocations: 0.6113 MB / 0.9265 GB, free: 135 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007224/2.657, allocations: 3.667 MB / 0.9301 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/2.658, allocations: 391.1 kB / 0.9305 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/2.659, allocations: 196.2 kB / 0.9307 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006347/2.66, allocations: 0.7371 MB / 0.9314 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/2.66, allocations: 42.31 kB / 0.9315 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.336e-06/2.66, allocations: 0 / 0.9315 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004423/2.664, allocations: 1.358 MB / 0.9328 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/2.664, allocations: 134 kB / 0.9329 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/2.665, allocations: 0.4958 MB / 0.9334 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/2.665, allocations: 35.89 kB / 0.9334 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/2.666, allocations: 358 kB / 0.9338 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/2.666, allocations: 160.8 kB / 0.9339 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/2.666, allocations: 13.81 kB / 0.9339 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001296/2.666, allocations: 376.5 kB / 0.9343 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005759/2.667, allocations: 208.8 kB / 0.9345 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/2.667, allocations: 495.1 kB / 0.935 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/2.668, allocations: 307 kB / 0.9353 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/2.668, allocations: 5.734 kB / 0.9353 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00261/2.671, allocations: 0.8537 MB / 0.9361 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/2.671, allocations: 7.344 kB / 0.9361 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/2.671, allocations: 11.75 kB / 0.9361 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002127/2.673, allocations: 288.2 kB / 0.9364 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007565/2.674, allocations: 119.7 kB / 0.9365 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/2.675, allocations: 0.8748 MB / 0.9374 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/2.676, allocations: 45.66 kB / 0.9374 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/2.676, allocations: 36.83 kB / 0.9374 GB, free: 129.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002341/2.676, allocations: 158.1 kB / 0.9376 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/2.677, allocations: 66 kB / 0.9376 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/2.678, allocations: 0.7511 MB / 0.9384 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/2.678, allocations: 3.781 kB / 0.9384 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/2.678, allocations: 6.094 kB / 0.9384 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/2.678, allocations: 3.797 kB / 0.9384 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/2.681, allocations: 1.383 MB / 0.9397 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/2.681, allocations: 0 / 0.9397 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/2.683, allocations: 203.2 kB / 0.9399 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001206/2.683, allocations: 29.64 kB / 0.94 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/2.683, allocations: 15.16 kB / 0.94 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/2.685, allocations: 2.689 MB / 0.9426 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/2.685, allocations: 3.938 kB / 0.9426 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/2.687, allocations: 1.044 MB / 0.9436 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/2.688, allocations: 212.7 kB / 0.9438 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/2.688, allocations: 10.16 kB / 0.9438 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008059/2.689, allocations: 32.52 kB / 0.9439 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/2.689, allocations: 46.19 kB / 0.9439 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/2.689, allocations: 21.66 kB / 0.9439 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006916/2.69, allocations: 402.1 kB / 0.9443 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/2.69, allocations: 0 / 0.9443 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001311/2.691, allocations: 241.5 kB / 0.9446 GB, free: 125.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002969/2.694, allocations: 2.283 MB / 0.9468 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00179/2.696, allocations: 0.56 MB / 0.9473 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/2.696, allocations: 0.75 kB / 0.9473 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/2.698, allocations: 432.5 kB / 0.9477 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/2.7, allocations: 317.6 kB / 0.948 GB, free: 124 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004105/2.704, allocations: 1.163 MB / 0.9492 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007008/2.705, allocations: 0.9495 MB / 0.9501 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001778/2.707, allocations: 208.5 kB / 0.9503 GB, free: 123 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/2.708, allocations: 239.7 kB / 0.9505 GB, free: 123 MB / 0.5105 GB Notification: Performance of SimCode: time 1.684e-06/2.708, allocations: 0 / 0.9505 GB, free: 123 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/2.82, allocations: 22.24 MB / 0.9723 GB, free: 122 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/2.82, allocations: 246.4 kB / 0.9725 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.247/6.067, allocations: 0 / 0.9725 GB, free: 121.6 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat