Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 235.2 MB / 242.3 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.293e-05, allocations: 0 / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3867, allocations: 54.87 MB / 354.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7538/1.141, allocations: 236.5 MB / 0.5771 GB, free: 36.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/1.141, allocations: 91.5 kB / 0.5771 GB, free: 36.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423/2.564, allocations: 271.7 MB / 0.8425 GB, free: 6.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.774e-06/2.564, allocations: 0 / 0.8425 GB, free: 6.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.979e-05/2.564, allocations: 20.16 kB / 0.8425 GB, free: 6.66 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.004776/2.569, allocations: 1.513 MB / 0.844 GB, free: 5.098 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/2.569, allocations: 8.031 kB / 0.844 GB, free: 5.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001496/2.571, allocations: 147 kB / 0.8441 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/2.572, allocations: 0.5623 MB / 0.8447 GB, free: 4.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/2.573, allocations: 88.7 kB / 0.8448 GB, free: 4.242 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/2.573, allocations: 28 kB / 0.8448 GB, free: 4.215 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001395/2.574, allocations: 0.4945 MB / 0.8453 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/2.576, allocations: 0.7223 MB / 0.846 GB, free: 2.914 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/2.576, allocations: 7.922 kB / 0.846 GB, free: 2.906 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/2.576, allocations: 4 kB / 0.846 GB, free: 2.902 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.384e-05/2.576, allocations: 37.3 kB / 0.846 GB, free: 2.867 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.3603/2.936, allocations: 4.321 MB / 0.8502 GB, free: 87.46 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/2.937, allocations: 282.4 kB / 0.8505 GB, free: 87.44 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/2.938, allocations: 117.7 kB / 0.8506 GB, free: 87.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/2.938, allocations: 341.7 kB / 0.851 GB, free: 87.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/2.938, allocations: 43.64 kB / 0.851 GB, free: 87.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.506e-06/2.938, allocations: 0.6562 kB / 0.851 GB, free: 87.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.00567/2.944, allocations: 1.217 MB / 0.8522 GB, free: 86.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/2.944, allocations: 132.8 kB / 0.8523 GB, free: 86.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009314/2.945, allocations: 472.8 kB / 0.8528 GB, free: 86.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/2.945, allocations: 27.08 kB / 0.8528 GB, free: 86.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/2.945, allocations: 413.7 kB / 0.8532 GB, free: 86.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/2.945, allocations: 124.5 kB / 0.8533 GB, free: 86.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/2.945, allocations: 0 / 0.8533 GB, free: 86.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/2.946, allocations: 373.9 kB / 0.8537 GB, free: 85.83 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/2.946, allocations: 179.6 kB / 0.8538 GB, free: 85.83 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/2.947, allocations: 0.5007 MB / 0.8543 GB, free: 85.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/2.948, allocations: 340.9 kB / 0.8546 GB, free: 85.42 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/2.948, allocations: 6.719 kB / 0.8546 GB, free: 85.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0031/2.952, allocations: 0.8338 MB / 0.8555 GB, free: 85.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/2.952, allocations: 9.406 kB / 0.8555 GB, free: 85.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/2.952, allocations: 10.91 kB / 0.8555 GB, free: 85.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/2.953, allocations: 213.8 kB / 0.8557 GB, free: 85.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/2.954, allocations: 131.1 kB / 0.8558 GB, free: 85.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/2.956, allocations: 1.396 MB / 0.8572 GB, free: 84.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/2.957, allocations: 20.91 kB / 0.8572 GB, free: 84.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/2.957, allocations: 48.83 kB / 0.8572 GB, free: 84.27 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.0002425/2.957, allocations: 135.3 kB / 0.8574 GB, free: 84.17 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002262/2.96, allocations: 0.5005 MB / 0.8579 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/2.96, allocations: 62.44 kB / 0.8579 GB, free: 84.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/2.963, allocations: 0.6837 MB / 0.8586 GB, free: 83.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/2.963, allocations: 4.641 kB / 0.8586 GB, free: 83.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/2.963, allocations: 0 / 0.8586 GB, free: 83.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/2.963, allocations: 5.391 kB / 0.8586 GB, free: 83.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/2.966, allocations: 1.129 MB / 0.8597 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.966, allocations: 1.375 kB / 0.8597 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/2.967, allocations: 43.09 kB / 0.8597 GB, free: 83.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008992/2.968, allocations: 162.3 kB / 0.8599 GB, free: 83.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/2.968, allocations: 11.19 kB / 0.8599 GB, free: 83.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/2.969, allocations: 1.312 MB / 0.8612 GB, free: 82.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/2.969, allocations: 3.828 kB / 0.8612 GB, free: 82.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/2.972, allocations: 0.8028 MB / 0.862 GB, free: 82.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/2.972, allocations: 191.7 kB / 0.8622 GB, free: 82.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/2.973, allocations: 4.125 kB / 0.8622 GB, free: 82.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/2.973, allocations: 16.44 kB / 0.8622 GB, free: 82.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/2.973, allocations: 30 kB / 0.8622 GB, free: 82.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/2.974, allocations: 25.22 kB / 0.8622 GB, free: 82.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007003/2.974, allocations: 349.7 kB / 0.8626 GB, free: 82.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.6e-07/2.974, allocations: 0 / 0.8626 GB, free: 82.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002119/2.976, allocations: 341.8 kB / 0.8629 GB, free: 82.14 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.004062/2.981, allocations: 1.817 MB / 0.8647 GB, free: 81.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001558/2.982, allocations: 474.3 kB / 0.8651 GB, free: 81.24 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/2.982, allocations: 0 / 0.8651 GB, free: 81.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007465/2.983, allocations: 203.5 kB / 0.8653 GB, free: 81.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/2.985, allocations: 253.4 kB / 0.8655 GB, free: 81.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/2.99, allocations: 1.153 MB / 0.8667 GB, free: 80.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/2.99, allocations: 0.9488 MB / 0.8676 GB, free: 80.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001401/2.991, allocations: 241.5 kB / 0.8678 GB, free: 80.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005085/2.992, allocations: 235.3 kB / 0.8681 GB, free: 80.23 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/2.992, allocations: 0 / 0.8681 GB, free: 80.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08282/3.075, allocations: 19.32 MB / 0.8869 GB, free: 79.82 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002492/3.075, allocations: 216.1 kB / 0.8871 GB, free: 79.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.566/6.641, allocations: 3.391 kB / 0.8871 GB, free: 79.54 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat