Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.59e-05/4.6e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4158, allocations: 54.86 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7092/1.125, allocations: 237.1 MB / 0.583 GB, free: 93.39 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.126, allocations: 91.38 kB / 0.5831 GB, free: 93.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332/2.458, allocations: 273.9 MB / 0.8505 GB, free: 29.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.184e-06/2.458, allocations: 0 / 0.8505 GB, free: 29.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.526e-05/2.458, allocations: 20 kB / 0.8506 GB, free: 29.29 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005263/2.463, allocations: 1.511 MB / 0.852 GB, free: 27.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/2.464, allocations: 11.97 kB / 0.8521 GB, free: 27.71 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/2.464, allocations: 98.5 kB / 0.8521 GB, free: 27.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/2.465, allocations: 139 kB / 0.8523 GB, free: 27.47 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/2.467, allocations: 0.5521 MB / 0.8528 GB, free: 26.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/2.467, allocations: 100.3 kB / 0.8529 GB, free: 26.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/2.467, allocations: 59.94 kB / 0.853 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/2.469, allocations: 0.7986 MB / 0.8537 GB, free: 25.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.465e-05/2.469, allocations: 3.938 kB / 0.8538 GB, free: 25.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/2.469, allocations: 24 kB / 0.8538 GB, free: 25.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/2.469, allocations: 40.98 kB / 0.8538 GB, free: 25.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/2.47, allocations: 0.5523 MB / 0.8544 GB, free: 25.2 MB / 474.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.006677/2.477, allocations: 4.421 MB / 0.8587 GB, free: 20.47 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/2.478, allocations: 294.5 kB / 0.859 GB, free: 20.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/2.478, allocations: 136.8 kB / 0.8591 GB, free: 20.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/2.479, allocations: 344.6 kB / 0.8594 GB, free: 19.63 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/2.479, allocations: 42.56 kB / 0.8595 GB, free: 19.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.196e-06/2.479, allocations: 0 / 0.8595 GB, free: 19.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.004424/2.483, allocations: 1.222 MB / 0.8606 GB, free: 18.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/2.483, allocations: 132.5 kB / 0.8608 GB, free: 18.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/2.484, allocations: 0.5579 MB / 0.8613 GB, free: 17.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/2.484, allocations: 37.7 kB / 0.8614 GB, free: 17.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/2.485, allocations: 428.8 kB / 0.8618 GB, free: 17.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/2.485, allocations: 138.1 kB / 0.8619 GB, free: 16.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/2.485, allocations: 20 kB / 0.8619 GB, free: 16.95 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.638e-05/2.485, allocations: 346.7 kB / 0.8622 GB, free: 16.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/2.485, allocations: 193.5 kB / 0.8624 GB, free: 16.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/2.486, allocations: 0.5082 MB / 0.8629 GB, free: 15.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/2.487, allocations: 306.8 kB / 0.8632 GB, free: 15.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/2.487, allocations: 4 kB / 0.8632 GB, free: 15.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001902/2.489, allocations: 0.7918 MB / 0.864 GB, free: 14.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/2.489, allocations: 8 kB / 0.864 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/2.489, allocations: 12 kB / 0.864 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/2.491, allocations: 269.5 kB / 0.8643 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/2.491, allocations: 135.8 kB / 0.8644 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/2.493, allocations: 1.374 MB / 0.8657 GB, free: 12.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/2.494, allocations: 35.98 kB / 0.8658 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/2.494, allocations: 43.98 kB / 0.8658 GB, free: 12.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002167/2.494, allocations: 160.7 kB / 0.866 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/2.494, allocations: 71.11 kB / 0.866 GB, free: 12.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/2.496, allocations: 0.666 MB / 0.8667 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/2.496, allocations: 4 kB / 0.8667 GB, free: 11.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/2.496, allocations: 4 kB / 0.8667 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/2.496, allocations: 7.984 kB / 0.8667 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/2.499, allocations: 1.193 MB / 0.8679 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/2.499, allocations: 0 / 0.8679 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/2.5, allocations: 35.98 kB / 0.8679 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/2.501, allocations: 201.6 kB / 0.8681 GB, free: 10.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/2.501, allocations: 15.98 kB / 0.8681 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/2.502, allocations: 1.288 MB / 0.8694 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/2.502, allocations: 4 kB / 0.8694 GB, free: 8.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/2.504, allocations: 0.7938 MB / 0.8701 GB, free: 8.074 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/2.505, allocations: 200.1 kB / 0.8703 GB, free: 7.859 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/2.505, allocations: 12 kB / 0.8704 GB, free: 7.848 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/2.505, allocations: 24.05 kB / 0.8704 GB, free: 7.824 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/2.506, allocations: 27.92 kB / 0.8704 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/2.506, allocations: 23.98 kB / 0.8704 GB, free: 7.773 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007279/2.506, allocations: 427.1 kB / 0.8708 GB, free: 7.363 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.506, allocations: 0 / 0.8708 GB, free: 7.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001739/2.508, allocations: 375.6 kB / 0.8712 GB, free: 6.996 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003356/2.511, allocations: 1.818 MB / 0.873 GB, free: 5.137 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/2.513, allocations: 0.5017 MB / 0.8735 GB, free: 4.637 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/2.513, allocations: 0 / 0.8735 GB, free: 4.637 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006869/2.514, allocations: 199.8 kB / 0.8736 GB, free: 4.441 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/2.516, allocations: 289.8 kB / 0.8739 GB, free: 4.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/2.52, allocations: 1.236 MB / 0.8751 GB, free: 2.871 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/2.521, allocations: 0.9461 MB / 0.8761 GB, free: 1.898 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/2.521, allocations: 239.3 kB / 0.8763 GB, free: 1.664 MB / 474.7 MB Notification: Performance of SimCode: time 1.603e-06/2.521, allocations: 4 kB / 0.8763 GB, free: 1.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.562/6.083, allocations: 21.01 MB / 0.8968 GB, free: 80.39 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat