Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.419e-05, allocations: 0 / 299.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3814, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.06/8.441, allocations: 2.624 GB / 2.97 GB, free: 117.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/8.442, allocations: 93.36 kB / 2.971 GB, free: 117.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.612/11.05, allocations: 495 MB / 3.454 GB, free: 45.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/11.05, allocations: 3.469 kB / 3.454 GB, free: 45.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001016/11.05, allocations: 22.67 kB / 3.454 GB, free: 45.7 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.009141/11.06, allocations: 1.695 MB / 3.456 GB, free: 44.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/11.06, allocations: 11.06 kB / 3.456 GB, free: 44.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/11.07, allocations: 231.1 kB / 3.456 GB, free: 44.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/11.07, allocations: 0.5857 MB / 3.456 GB, free: 44.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/11.07, allocations: 91.69 kB / 3.457 GB, free: 44.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/11.07, allocations: 38.14 kB / 3.457 GB, free: 44.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001628/11.07, allocations: 0.6284 MB / 3.457 GB, free: 43.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/11.07, allocations: 0.8672 MB / 3.458 GB, free: 43.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/11.07, allocations: 3.938 kB / 3.458 GB, free: 43.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/11.07, allocations: 3.656 kB / 3.458 GB, free: 43.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.658e-05/11.07, allocations: 42.77 kB / 3.458 GB, free: 43.46 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.6107/11.68, allocations: 67.77 MB / 3.524 GB, free: 64.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/11.68, allocations: 339.2 kB / 3.525 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/11.68, allocations: 143.2 kB / 3.525 GB, free: 64.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1772/11.86, allocations: 53.54 MB / 3.577 GB, free: 31.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/11.86, allocations: 36.72 kB / 3.577 GB, free: 31.05 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 4.358e-06/11.86, allocations: 0 / 3.577 GB, free: 31.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.007594/11.87, allocations: 1.587 MB / 3.579 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/11.87, allocations: 132.5 kB / 3.579 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/11.87, allocations: 0.4954 MB / 3.579 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.976e-05/11.87, allocations: 25.7 kB / 3.579 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/11.87, allocations: 445 kB / 3.58 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/11.87, allocations: 133 kB / 3.58 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/11.87, allocations: 0 / 3.58 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001281/11.87, allocations: 380.8 kB / 3.58 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/11.87, allocations: 204.9 kB / 3.58 GB, free: 29.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006766/11.87, allocations: 0.5797 MB / 3.581 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/11.87, allocations: 426 kB / 3.581 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/11.87, allocations: 3.719 kB / 3.581 GB, free: 29.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002961/11.88, allocations: 0.8972 MB / 3.582 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/11.88, allocations: 15.66 kB / 3.582 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/11.88, allocations: 14.06 kB / 3.582 GB, free: 29.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/11.88, allocations: 70.38 kB / 3.582 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/11.88, allocations: 290.9 kB / 3.583 GB, free: 29.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/11.88, allocations: 2.07 MB / 3.585 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/11.88, allocations: 52.86 kB / 3.585 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/11.88, allocations: 40.19 kB / 3.585 GB, free: 27.38 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002991/11.88, allocations: 145.6 kB / 3.585 GB, free: 27.28 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002142/11.89, allocations: 0.5113 MB / 3.585 GB, free: 27.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/11.89, allocations: 67.69 kB / 3.585 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/11.89, allocations: 1.508 MB / 3.587 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/11.89, allocations: 18.03 kB / 3.587 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/11.89, allocations: 0 / 3.587 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/11.89, allocations: 3.891 kB / 3.587 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/11.89, allocations: 2.342 MB / 3.589 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/11.89, allocations: 0 / 3.589 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/11.9, allocations: 169.2 kB / 3.589 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/11.9, allocations: 116.6 kB / 3.589 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/11.9, allocations: 7.469 kB / 3.589 GB, free: 26.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/11.9, allocations: 2.075 MB / 3.591 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/11.9, allocations: 2.719 kB / 3.591 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/11.9, allocations: 1.513 MB / 3.593 GB, free: 24.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/11.9, allocations: 207.1 kB / 3.593 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/11.9, allocations: 3.594 kB / 3.593 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/11.9, allocations: 16.8 kB / 3.593 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/11.9, allocations: 28.91 kB / 3.593 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/11.9, allocations: 11.62 kB / 3.593 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006397/11.9, allocations: 357.2 kB / 3.594 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/11.9, allocations: 0 / 3.594 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006206/11.91, allocations: 1.097 MB / 3.595 GB, free: 24.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01336/11.92, allocations: 3.593 MB / 3.598 GB, free: 23.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002701/11.93, allocations: 0.8078 MB / 3.599 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/11.93, allocations: 1.188 kB / 3.599 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/11.93, allocations: 0.5441 MB / 3.599 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/11.93, allocations: 261.7 kB / 3.6 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007038/11.94, allocations: 1.894 MB / 3.602 GB, free: 22.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/11.94, allocations: 1.063 MB / 3.603 GB, free: 22.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001432/11.94, allocations: 429.2 kB / 3.603 GB, free: 22.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/11.94, allocations: 311.4 kB / 3.603 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/11.94, allocations: 0 / 3.603 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/12.07, allocations: 41.65 MB / 3.644 GB, free: 19.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/12.07, allocations: 196.5 kB / 3.644 GB, free: 19.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.489/16.56, allocations: 0 / 3.644 GB, free: 19.66 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat