Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.457e-05, allocations: 0 / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.457/0.457, allocations: 54.86 MB / 354.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.477/1.934, allocations: 0.5036 GB / 0.8498 GB, free: 16.76 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/1.934, allocations: 98.3 kB / 0.8498 GB, free: 16.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.621/3.556, allocations: 230.4 MB / 1.075 GB, free: 101.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.124e-06/3.556, allocations: 0.8438 kB / 1.075 GB, free: 101.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.334e-05/3.556, allocations: 17.5 kB / 1.075 GB, free: 101.8 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.004192/3.56, allocations: 1.101 MB / 1.076 GB, free: 101.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/3.56, allocations: 8.781 kB / 1.076 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/3.562, allocations: 135.8 kB / 1.076 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/3.564, allocations: 0.5464 MB / 1.077 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/3.564, allocations: 92.39 kB / 1.077 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/3.564, allocations: 27.53 kB / 1.077 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001688/3.566, allocations: 0.5189 MB / 1.077 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/3.568, allocations: 0.7252 MB / 1.078 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/3.568, allocations: 8.328 kB / 1.078 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/3.568, allocations: 3.406 kB / 1.078 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/3.568, allocations: 40.08 kB / 1.078 GB, free: 100.9 MB / 490.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.007431/3.576, allocations: 3.873 MB / 1.082 GB, free: 98.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007874/3.577, allocations: 244.1 kB / 1.082 GB, free: 98.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/3.577, allocations: 131.2 kB / 1.082 GB, free: 98.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/3.577, allocations: 21.91 kB / 1.082 GB, free: 98.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/3.577, allocations: 38.48 kB / 1.082 GB, free: 98.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.306e-06/3.577, allocations: 0 / 1.082 GB, free: 98.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.00986/3.587, allocations: 1.421 MB / 1.084 GB, free: 97.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/3.587, allocations: 132.7 kB / 1.084 GB, free: 97.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008614/3.588, allocations: 479.1 kB / 1.084 GB, free: 97.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.323e-05/3.588, allocations: 25.7 kB / 1.084 GB, free: 97.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/3.588, allocations: 403 kB / 1.085 GB, free: 97.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/3.589, allocations: 121.3 kB / 1.085 GB, free: 97.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/3.589, allocations: 0 / 1.085 GB, free: 97.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/3.589, allocations: 364.4 kB / 1.085 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/3.589, allocations: 178.3 kB / 1.085 GB, free: 96.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006572/3.59, allocations: 0.5084 MB / 1.086 GB, free: 96.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/3.591, allocations: 325.9 kB / 1.086 GB, free: 96.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/3.591, allocations: 3.906 kB / 1.086 GB, free: 96.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002446/3.594, allocations: 0.835 MB / 1.087 GB, free: 96.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/3.594, allocations: 12.8 kB / 1.087 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/3.594, allocations: 11.84 kB / 1.087 GB, free: 96.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/3.596, allocations: 263.1 kB / 1.087 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/3.597, allocations: 135.2 kB / 1.087 GB, free: 96.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/3.598, allocations: 0.9158 MB / 1.088 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/3.599, allocations: 30.61 kB / 1.088 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/3.6, allocations: 70.27 kB / 1.088 GB, free: 95.88 MB / 490.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.0002431/3.6, allocations: 135.3 kB / 1.088 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001412/3.601, allocations: 425.3 kB / 1.089 GB, free: 95.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/3.601, allocations: 62.47 kB / 1.089 GB, free: 95.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/3.603, allocations: 0.5092 MB / 1.089 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/3.603, allocations: 3.188 kB / 1.089 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/3.603, allocations: 7.578 kB / 1.089 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/3.603, allocations: 0 / 1.089 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/3.606, allocations: 0.9539 MB / 1.09 GB, free: 95.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/3.606, allocations: 3.781 kB / 1.09 GB, free: 95.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/3.608, allocations: 201.9 kB / 1.09 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/3.608, allocations: 19.72 kB / 1.09 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/3.608, allocations: 11.03 kB / 1.09 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/3.61, allocations: 2.588 MB / 1.093 GB, free: 92.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/3.611, allocations: 0 / 1.093 GB, free: 92.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/3.612, allocations: 0.6684 MB / 1.094 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/3.613, allocations: 173.1 kB / 1.094 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/3.613, allocations: 6.781 kB / 1.094 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/3.614, allocations: 18.5 kB / 1.094 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/3.614, allocations: 28.55 kB / 1.094 GB, free: 92.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/3.614, allocations: 39.14 kB / 1.094 GB, free: 92.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006435/3.615, allocations: 345.4 kB / 1.094 GB, free: 92.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.615, allocations: 0 / 1.094 GB, free: 92.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002027/3.617, allocations: 341.9 kB / 1.095 GB, free: 92.43 MB / 490.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.004496/3.621, allocations: 2.358 MB / 1.097 GB, free: 91.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/3.623, allocations: 488.8 kB / 1.097 GB, free: 91.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/3.623, allocations: 0 / 1.097 GB, free: 91.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/3.624, allocations: 357.5 kB / 1.098 GB, free: 91.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/3.627, allocations: 237.7 kB / 1.098 GB, free: 91.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/3.639, allocations: 2.495 MB / 1.1 GB, free: 91.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/3.64, allocations: 0.9429 MB / 1.101 GB, free: 90.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001986/3.642, allocations: 250.1 kB / 1.101 GB, free: 90.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008771/3.643, allocations: 255 kB / 1.102 GB, free: 90.38 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/3.643, allocations: 0 / 1.102 GB, free: 90.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09266/3.735, allocations: 25.41 MB / 1.127 GB, free: 89.64 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002618/3.736, allocations: 207.3 kB / 1.127 GB, free: 89.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.999/7.734, allocations: 6.094 kB / 1.127 GB, free: 89.38 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat