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.889/1.889, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.813e-05, allocations: 3.984 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.93/2.032, allocations: 0.6299 GB / 0.9442 GB, free: 31.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/2.032, allocations: 94.69 kB / 0.9443 GB, free: 31.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416/3.448, allocations: 229.4 MB / 1.168 GB, free: 68.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/3.448, allocations: 0 / 1.168 GB, free: 68.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.604e-05/3.448, allocations: 20.7 kB / 1.168 GB, free: 68.95 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.003573/3.452, allocations: 1.144 MB / 1.17 GB, free: 68.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/3.452, allocations: 15.06 kB / 1.17 GB, free: 68.44 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/3.452, allocations: 100.7 kB / 1.17 GB, free: 68.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/3.453, allocations: 135.5 kB / 1.17 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/3.455, allocations: 0.5469 MB / 1.17 GB, free: 68.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/3.455, allocations: 100.5 kB / 1.17 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/3.455, allocations: 54.31 kB / 1.17 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/3.457, allocations: 0.7855 MB / 1.171 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/3.457, allocations: 4.594 kB / 1.171 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/3.457, allocations: 27.34 kB / 1.171 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-05/3.457, allocations: 40.73 kB / 1.171 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/3.459, allocations: 0.5867 MB / 1.172 GB, free: 67.84 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.005706/3.464, allocations: 3.901 MB / 1.176 GB, free: 65.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/3.465, allocations: 318.6 kB / 1.176 GB, free: 65.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/3.465, allocations: 172.5 kB / 1.176 GB, free: 65.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/3.466, allocations: 26.06 kB / 1.176 GB, free: 65.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/3.466, allocations: 41.97 kB / 1.176 GB, free: 65.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/3.466, allocations: 0 / 1.176 GB, free: 65.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.008218/3.474, allocations: 1.505 MB / 1.178 GB, free: 64.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/3.474, allocations: 132.3 kB / 1.178 GB, free: 64.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/3.475, allocations: 0.5192 MB / 1.178 GB, free: 64.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/3.475, allocations: 36.27 kB / 1.178 GB, free: 64.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/3.475, allocations: 407.1 kB / 1.179 GB, free: 64.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/3.475, allocations: 151 kB / 1.179 GB, free: 64.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/3.475, allocations: 13.97 kB / 1.179 GB, free: 64.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/3.476, allocations: 339.8 kB / 1.179 GB, free: 63.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/3.476, allocations: 194.2 kB / 1.179 GB, free: 63.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/3.477, allocations: 0.5231 MB / 1.18 GB, free: 63.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/3.477, allocations: 299.1 kB / 1.18 GB, free: 63.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/3.477, allocations: 6.781 kB / 1.18 GB, free: 63.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001874/3.479, allocations: 0.8008 MB / 1.181 GB, free: 63.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/3.479, allocations: 12.89 kB / 1.181 GB, free: 63.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/3.479, allocations: 10.25 kB / 1.181 GB, free: 63.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/3.481, allocations: 307.8 kB / 1.181 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007557/3.482, allocations: 130.1 kB / 1.181 GB, free: 63.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/3.484, allocations: 0.894 MB / 1.182 GB, free: 62.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/3.485, allocations: 48.12 kB / 1.182 GB, free: 62.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/3.485, allocations: 68.81 kB / 1.182 GB, free: 62.74 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.00023/3.485, allocations: 158.5 kB / 1.183 GB, free: 62.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/3.485, allocations: 71.97 kB / 1.183 GB, free: 62.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/3.487, allocations: 0.6548 MB / 1.183 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/3.487, allocations: 3.906 kB / 1.183 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/3.487, allocations: 0 / 1.183 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/3.487, allocations: 5.734 kB / 1.183 GB, free: 62.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/3.49, allocations: 1.245 MB / 1.184 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/3.49, allocations: 0 / 1.184 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/3.492, allocations: 206.7 kB / 1.185 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/3.492, allocations: 29.38 kB / 1.185 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/3.492, allocations: 15.12 kB / 1.185 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/3.494, allocations: 2.683 MB / 1.187 GB, free: 59.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/3.494, allocations: 10.47 kB / 1.187 GB, free: 59.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/3.496, allocations: 0.839 MB / 1.188 GB, free: 59.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/3.496, allocations: 185.3 kB / 1.188 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/3.496, allocations: 10.75 kB / 1.188 GB, free: 59.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/3.497, allocations: 32.66 kB / 1.188 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/3.497, allocations: 35.48 kB / 1.188 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/3.497, allocations: 44.69 kB / 1.188 GB, free: 59.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006874/3.498, allocations: 410.8 kB / 1.189 GB, free: 58.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.498, allocations: 0 / 1.189 GB, free: 58.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001868/3.5, allocations: 387.3 kB / 1.189 GB, free: 58.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.004118/3.504, allocations: 2.663 MB / 1.192 GB, free: 57.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/3.506, allocations: 0.5153 MB / 1.192 GB, free: 57.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/3.506, allocations: 0 / 1.192 GB, free: 57.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/3.507, allocations: 377.1 kB / 1.193 GB, free: 57.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/3.51, allocations: 325.9 kB / 1.193 GB, free: 57.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/3.521, allocations: 2.638 MB / 1.196 GB, free: 57.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/3.521, allocations: 0.9437 MB / 1.196 GB, free: 56.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000812/3.522, allocations: 280.5 kB / 1.197 GB, free: 56.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/3.522, allocations: 0 / 1.197 GB, free: 56.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.218/6.74, allocations: 23.61 MB / 1.22 GB, free: 55.02 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