Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.4/2.4, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.259e-05, allocations: 0 / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3758, allocations: 54.87 MB / 354.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.619, allocations: 423.9 MB / 0.7601 GB, free: 104.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/1.619, allocations: 94.62 kB / 0.7602 GB, free: 104.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8063/2.426, allocations: 131 MB / 0.8881 GB, free: 133.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/2.426, allocations: 0 / 0.8881 GB, free: 133.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.114e-05/2.426, allocations: 24.41 kB / 0.8881 GB, free: 133.6 MB / 490.7 MB 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.002401/2.428, allocations: 0.9005 MB / 0.889 GB, free: 133.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/2.428, allocations: 14.95 kB / 0.889 GB, free: 133.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005386/2.429, allocations: 85.05 kB / 0.8891 GB, free: 133.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/2.43, allocations: 0.5596 MB / 0.8896 GB, free: 132.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/2.431, allocations: 84 kB / 0.8897 GB, free: 132.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/2.431, allocations: 36.56 kB / 0.8898 GB, free: 132.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00141/2.432, allocations: 0.5485 MB / 0.8903 GB, free: 132.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/2.434, allocations: 0.7174 MB / 0.891 GB, free: 132.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/2.434, allocations: 4.891 kB / 0.891 GB, free: 132.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/2.434, allocations: 3.844 kB / 0.891 GB, free: 132.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.649e-05/2.434, allocations: 40.42 kB / 0.891 GB, free: 132.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006215/2.44, allocations: 3.781 MB / 0.8947 GB, free: 130.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/2.441, allocations: 306.5 kB / 0.895 GB, free: 130.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/2.441, allocations: 160.3 kB / 0.8952 GB, free: 130.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002389/2.444, allocations: 1.37 MB / 0.8965 GB, free: 129.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/2.444, allocations: 37.89 kB / 0.8965 GB, free: 129.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.466e-06/2.444, allocations: 0 / 0.8965 GB, free: 129.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.004294/2.448, allocations: 1.152 MB / 0.8977 GB, free: 128.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/2.448, allocations: 135.4 kB / 0.8978 GB, free: 128.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008228/2.449, allocations: 491.9 kB / 0.8983 GB, free: 128.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/2.449, allocations: 25.7 kB / 0.8983 GB, free: 128.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/2.449, allocations: 411.8 kB / 0.8987 GB, free: 128.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/2.45, allocations: 128.4 kB / 0.8988 GB, free: 128 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/2.45, allocations: 0 / 0.8988 GB, free: 128 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/2.45, allocations: 368.1 kB / 0.8992 GB, free: 127.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/2.45, allocations: 184.7 kB / 0.8993 GB, free: 127.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006126/2.451, allocations: 0.51 MB / 0.8998 GB, free: 127.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/2.452, allocations: 315.9 kB / 0.9001 GB, free: 127.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/2.452, allocations: 3.875 kB / 0.9001 GB, free: 127.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002906/2.455, allocations: 0.8344 MB / 0.901 GB, free: 127.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/2.455, allocations: 12.53 kB / 0.901 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/2.455, allocations: 17.89 kB / 0.901 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00166/2.457, allocations: 221.9 kB / 0.9012 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/2.457, allocations: 129.3 kB / 0.9013 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/2.459, allocations: 0.8599 MB / 0.9022 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/2.46, allocations: 44.72 kB / 0.9022 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/2.46, allocations: 37.95 kB / 0.9022 GB, free: 126.6 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (77): * Single equations (assignments): 76 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002811/2.461, allocations: 137.6 kB / 0.9024 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001545/2.462, allocations: 462 kB / 0.9028 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/2.462, allocations: 61.62 kB / 0.9029 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/2.464, allocations: 0.5377 MB / 0.9034 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/2.464, allocations: 7.547 kB / 0.9034 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/2.464, allocations: 0 / 0.9034 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/2.464, allocations: 6.812 kB / 0.9034 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/2.467, allocations: 1.061 MB / 0.9044 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/2.467, allocations: 3.062 kB / 0.9044 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/2.469, allocations: 182.2 kB / 0.9046 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/2.469, allocations: 21.72 kB / 0.9046 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.233e-05/2.47, allocations: 11.27 kB / 0.9047 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/2.472, allocations: 2.577 MB / 0.9072 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.472, allocations: 0 / 0.9072 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/2.473, allocations: 0.7408 MB / 0.9079 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/2.474, allocations: 193.1 kB / 0.9081 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/2.474, allocations: 0 / 0.9081 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/2.475, allocations: 25.69 kB / 0.9081 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/2.475, allocations: 21.47 kB / 0.9081 GB, free: 122.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/2.475, allocations: 14.3 kB / 0.9081 GB, free: 122.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000613/2.476, allocations: 371.2 kB / 0.9085 GB, free: 122.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.476, allocations: 0 / 0.9085 GB, free: 122.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001311/2.477, allocations: 212.5 kB / 0.9087 GB, free: 122.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (35): * Single equations (assignments): 31 * 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.002567/2.479, allocations: 1.536 MB / 0.9102 GB, free: 122 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001652/2.481, allocations: 0.4949 MB / 0.9107 GB, free: 122 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/2.481, allocations: 3.969 kB / 0.9107 GB, free: 122 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/2.483, allocations: 347.1 kB / 0.911 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/2.485, allocations: 251.4 kB / 0.9113 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/2.488, allocations: 1.027 MB / 0.9123 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/2.488, allocations: 0.9456 MB / 0.9132 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001173/2.489, allocations: 186.6 kB / 0.9134 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/2.49, allocations: 225.9 kB / 0.9136 GB, free: 120.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/2.49, allocations: 3.062 kB / 0.9136 GB, free: 120.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/2.62, allocations: 17.73 MB / 0.9309 GB, free: 119.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000251/2.621, allocations: 196.6 kB / 0.9311 GB, free: 119.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.221/5.842, allocations: 0 / 0.9311 GB, free: 119.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat