Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.712/2.712, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.392e-05/4.398e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4168, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.297/1.714, allocations: 420.3 MB / 0.7838 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.714, allocations: 94.3 kB / 0.7839 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4677/2.182, allocations: 119.3 MB / 0.9004 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.824e-06/2.182, allocations: 0 / 0.9004 GB, free: 27.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.61e-05/2.182, allocations: 16 kB / 0.9004 GB, free: 27.35 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.002897/2.185, allocations: 0.9791 MB / 0.9014 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/2.185, allocations: 15.91 kB / 0.9014 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/2.185, allocations: 102.5 kB / 0.9015 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005083/2.186, allocations: 91.02 kB / 0.9016 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/2.188, allocations: 0.5365 MB / 0.9021 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/2.188, allocations: 100.4 kB / 0.9022 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/2.188, allocations: 51.98 kB / 0.9022 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/2.19, allocations: 0.8016 MB / 0.903 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/2.19, allocations: 7.938 kB / 0.903 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/2.19, allocations: 24 kB / 0.903 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.593e-05/2.19, allocations: 32.98 kB / 0.9031 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/2.192, allocations: 0.6109 MB / 0.9037 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007042/2.199, allocations: 3.941 MB / 0.9075 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/2.2, allocations: 376.7 kB / 0.9079 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/2.2, allocations: 205.3 kB / 0.9081 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005327/2.201, allocations: 0.4951 MB / 0.9086 GB, free: 18.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/2.201, allocations: 42.88 kB / 0.9086 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=40): time 3.997e-06/2.201, allocations: 0 / 0.9086 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.004341/2.205, allocations: 1.33 MB / 0.9099 GB, free: 17.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/2.206, allocations: 140.5 kB / 0.91 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008793/2.206, allocations: 0.4929 MB / 0.9105 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-05/2.207, allocations: 33.7 kB / 0.9106 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/2.207, allocations: 355.1 kB / 0.9109 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/2.207, allocations: 165.6 kB / 0.911 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/2.207, allocations: 16 kB / 0.9111 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001276/2.207, allocations: 378.7 kB / 0.9114 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/2.208, allocations: 209.4 kB / 0.9116 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/2.209, allocations: 0.5009 MB / 0.9121 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006936/2.209, allocations: 313.4 kB / 0.9124 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/2.209, allocations: 0 / 0.9124 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002656/2.212, allocations: 0.8784 MB / 0.9133 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/2.212, allocations: 12.78 kB / 0.9133 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/2.212, allocations: 8.875 kB / 0.9133 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/2.214, allocations: 260.6 kB / 0.9135 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/2.215, allocations: 131.8 kB / 0.9137 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/2.216, allocations: 0.8512 MB / 0.9145 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/2.217, allocations: 51.94 kB / 0.9145 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/2.217, allocations: 32 kB / 0.9146 GB, free: 12 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 (73): * Single equations (assignments): 72 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000225/2.217, allocations: 160.6 kB / 0.9147 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/2.218, allocations: 63.25 kB / 0.9148 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/2.22, allocations: 0.692 MB / 0.9155 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/2.22, allocations: 4 kB / 0.9155 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/2.22, allocations: 3.953 kB / 0.9155 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/2.22, allocations: 3.984 kB / 0.9155 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/2.223, allocations: 1.368 MB / 0.9168 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/2.223, allocations: 48 / 0.9168 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/2.225, allocations: 199.7 kB / 0.917 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/2.225, allocations: 60.69 kB / 0.9171 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-05/2.225, allocations: 8 kB / 0.9171 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/2.228, allocations: 2.774 MB / 0.9198 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/2.228, allocations: 7.984 kB / 0.9198 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/2.23, allocations: 1.046 MB / 0.9208 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/2.231, allocations: 220 kB / 0.921 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/2.231, allocations: 16.05 kB / 0.921 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/2.232, allocations: 31.98 kB / 0.9211 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/2.232, allocations: 35.89 kB / 0.9211 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/2.232, allocations: 19.98 kB / 0.9211 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006733/2.232, allocations: 393.5 kB / 0.9215 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/2.232, allocations: 0 / 0.9215 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001279/2.234, allocations: 219.9 kB / 0.9217 GB, free: 4.234 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003/2.237, allocations: 2.234 MB / 0.9239 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001614/2.238, allocations: 0.5605 MB / 0.9244 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/2.238, allocations: 4.562 kB / 0.9244 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001747/2.24, allocations: 453.3 kB / 0.9249 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/2.243, allocations: 327.7 kB / 0.9252 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3539/2.597, allocations: 1.169 MB / 0.9263 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/2.598, allocations: 0.9511 MB / 0.9272 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001985/2.6, allocations: 196.1 kB / 0.9274 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008706/2.601, allocations: 241 kB / 0.9277 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.193e-06/2.601, allocations: 0.5625 kB / 0.9277 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08078/2.682, allocations: 20.25 MB / 0.9474 GB, free: 137.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/2.682, allocations: 261.3 kB / 0.9477 GB, free: 136.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/6.262, allocations: 0 / 0.9477 GB, free: 136.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat