Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.235e-05, allocations: 0 / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 48.69 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.906/2.008, allocations: 0.6295 GB / 0.9384 GB, free: 27.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/2.008, allocations: 91.25 kB / 0.9385 GB, free: 27.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.409/3.417, allocations: 226.8 MB / 1.16 GB, free: 71.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/3.417, allocations: 0 / 1.16 GB, free: 71.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.158e-05/3.417, allocations: 16.23 kB / 1.16 GB, free: 71.61 MB / 426.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.003799/3.421, allocations: 1.151 MB / 1.161 GB, free: 71.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/3.421, allocations: 11.69 kB / 1.161 GB, free: 71.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/3.422, allocations: 139.3 kB / 1.161 GB, free: 71.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/3.424, allocations: 0.5484 MB / 1.162 GB, free: 70.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/3.424, allocations: 84.47 kB / 1.162 GB, free: 70.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/3.424, allocations: 30.12 kB / 1.162 GB, free: 70.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001338/3.425, allocations: 0.5189 MB / 1.162 GB, free: 70.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/3.427, allocations: 0.7326 MB / 1.163 GB, free: 70.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/3.427, allocations: 5.781 kB / 1.163 GB, free: 70.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/3.427, allocations: 3.469 kB / 1.163 GB, free: 70.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.099e-05/3.427, allocations: 38.3 kB / 1.163 GB, free: 70.55 MB / 426.7 MB 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.005915/3.433, allocations: 3.866 MB / 1.167 GB, free: 68.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/3.434, allocations: 247.3 kB / 1.167 GB, free: 67.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/3.434, allocations: 131.3 kB / 1.167 GB, free: 67.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.751e-05/3.434, allocations: 18.36 kB / 1.167 GB, free: 67.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/3.434, allocations: 43 kB / 1.167 GB, free: 67.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.216e-06/3.434, allocations: 3.844 kB / 1.167 GB, free: 67.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.008377/3.443, allocations: 1.42 MB / 1.169 GB, free: 67.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/3.443, allocations: 135 kB / 1.169 GB, free: 67.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007657/3.443, allocations: 470 kB / 1.169 GB, free: 67.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/3.444, allocations: 29.67 kB / 1.169 GB, free: 67.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/3.444, allocations: 441.8 kB / 1.17 GB, free: 66.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/3.444, allocations: 120.5 kB / 1.17 GB, free: 66.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/3.444, allocations: 0 / 1.17 GB, free: 66.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/3.444, allocations: 340.1 kB / 1.17 GB, free: 66.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/3.445, allocations: 182.6 kB / 1.17 GB, free: 66.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/3.445, allocations: 0.5064 MB / 1.171 GB, free: 66.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/3.446, allocations: 336.2 kB / 1.171 GB, free: 66.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/3.446, allocations: 3.5 kB / 1.171 GB, free: 66.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002035/3.448, allocations: 0.7911 MB / 1.172 GB, free: 66.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/3.448, allocations: 11.77 kB / 1.172 GB, free: 66.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/3.448, allocations: 11.66 kB / 1.172 GB, free: 66.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/3.45, allocations: 261.5 kB / 1.172 GB, free: 66.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007632/3.451, allocations: 142.8 kB / 1.172 GB, free: 66.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/3.452, allocations: 0.9135 MB / 1.173 GB, free: 65.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/3.453, allocations: 34.08 kB / 1.173 GB, free: 65.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/3.453, allocations: 67.88 kB / 1.173 GB, free: 65.5 MB / 426.7 MB 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 (72): * Single equations (assignments): 71 * 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.0002317/3.454, allocations: 136.4 kB / 1.174 GB, free: 65.39 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001191/3.455, allocations: 427.9 kB / 1.174 GB, free: 65.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/3.455, allocations: 64.81 kB / 1.174 GB, free: 65.28 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/3.457, allocations: 0.4999 MB / 1.175 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/3.457, allocations: 3.969 kB / 1.175 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/3.457, allocations: 3.953 kB / 1.175 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/3.457, allocations: 0 / 1.175 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/3.459, allocations: 0.9563 MB / 1.175 GB, free: 64.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/3.459, allocations: 3.953 kB / 1.175 GB, free: 64.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/3.461, allocations: 198 kB / 1.176 GB, free: 64.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/3.461, allocations: 26.41 kB / 1.176 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/3.461, allocations: 13.52 kB / 1.176 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/3.463, allocations: 2.587 MB / 1.178 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/3.463, allocations: 0 / 1.178 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/3.464, allocations: 0.6696 MB / 1.179 GB, free: 62.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/3.465, allocations: 172.7 kB / 1.179 GB, free: 62.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/3.465, allocations: 6.469 kB / 1.179 GB, free: 62.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/3.465, allocations: 19.39 kB / 1.179 GB, free: 62.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/3.466, allocations: 30.58 kB / 1.179 GB, free: 62.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/3.466, allocations: 42.45 kB / 1.179 GB, free: 62.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000573/3.466, allocations: 345.7 kB / 1.179 GB, free: 62.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/3.466, allocations: 3.094 kB / 1.179 GB, free: 62.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001813/3.468, allocations: 339.5 kB / 1.18 GB, free: 62.02 MB / 426.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 (33): * Single equations (assignments): 31 * 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.003965/3.472, allocations: 2.376 MB / 1.182 GB, free: 61.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001545/3.474, allocations: 491 kB / 1.183 GB, free: 61.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/3.474, allocations: 2.875 kB / 1.183 GB, free: 61.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/3.475, allocations: 339.7 kB / 1.183 GB, free: 60.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/3.477, allocations: 235.2 kB / 1.183 GB, free: 60.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/3.488, allocations: 2.533 MB / 1.186 GB, free: 60.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/3.488, allocations: 0.9359 MB / 1.186 GB, free: 59.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008068/3.489, allocations: 271.5 kB / 1.187 GB, free: 59.92 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/3.489, allocations: 0 / 1.187 GB, free: 59.92 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.354/6.843, allocations: 22.83 MB / 1.209 GB, free: 58.86 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat