Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.58/2.58, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.36e-05/4.379e-05, allocations: 4 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3894, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.297/8.687, allocations: 2.624 GB / 2.971 GB, free: 125.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/8.687, allocations: 91.73 kB / 2.971 GB, free: 125.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.611/11.3, allocations: 495 MB / 3.454 GB, free: 22.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.244e-06/11.3, allocations: 0 / 3.454 GB, free: 22.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.367e-05/11.3, allocations: 23.33 kB / 3.454 GB, free: 22.08 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.007904/11.31, allocations: 1.698 MB / 3.456 GB, free: 20.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/11.31, allocations: 12.03 kB / 3.456 GB, free: 20.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002513/11.31, allocations: 238.8 kB / 3.456 GB, free: 20.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/11.31, allocations: 0.5861 MB / 3.457 GB, free: 19.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/11.31, allocations: 88.7 kB / 3.457 GB, free: 19.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/11.31, allocations: 35.95 kB / 3.457 GB, free: 19.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/11.31, allocations: 0.6234 MB / 3.457 GB, free: 18.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/11.32, allocations: 0.8754 MB / 3.458 GB, free: 17.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/11.32, allocations: 4 kB / 3.458 GB, free: 17.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/11.32, allocations: 8 kB / 3.458 GB, free: 17.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.499e-05/11.32, allocations: 45.23 kB / 3.458 GB, free: 17.69 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.6307/11.95, allocations: 67.75 MB / 3.524 GB, free: 22.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/11.95, allocations: 340 kB / 3.525 GB, free: 22.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/11.95, allocations: 150 kB / 3.525 GB, free: 22.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1902/12.14, allocations: 53.53 MB / 3.577 GB, free: 19.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.053e-05/12.14, allocations: 40.06 kB / 3.577 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 4.027e-06/12.14, allocations: 3.844 kB / 3.577 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.008237/12.15, allocations: 1.592 MB / 3.579 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.614e-05/12.15, allocations: 134.9 kB / 3.579 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/12.15, allocations: 497.6 kB / 3.579 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/12.15, allocations: 29.2 kB / 3.579 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/12.15, allocations: 443.8 kB / 3.58 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/12.15, allocations: 134.5 kB / 3.58 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/12.15, allocations: 0 / 3.58 GB, free: 18.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008381/12.15, allocations: 368.8 kB / 3.58 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/12.15, allocations: 207.6 kB / 3.58 GB, free: 34.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/12.15, allocations: 0.5833 MB / 3.581 GB, free: 33.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/12.15, allocations: 433 kB / 3.581 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/12.15, allocations: 3.406 kB / 3.581 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003276/12.16, allocations: 0.8946 MB / 3.582 GB, free: 33.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/12.16, allocations: 14.34 kB / 3.582 GB, free: 33.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/12.16, allocations: 10.97 kB / 3.582 GB, free: 33.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003826/12.16, allocations: 81.2 kB / 3.582 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002586/12.16, allocations: 287.9 kB / 3.583 GB, free: 33.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/12.16, allocations: 2.064 MB / 3.585 GB, free: 31.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/12.16, allocations: 48.38 kB / 3.585 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/12.16, allocations: 46.12 kB / 3.585 GB, free: 31.78 MB / 0.5261 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/12.16, allocations: 147.6 kB / 3.585 GB, free: 31.67 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002306/12.17, allocations: 0.5128 MB / 3.585 GB, free: 31.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/12.17, allocations: 61.66 kB / 3.585 GB, free: 31.56 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/12.17, allocations: 1.507 MB / 3.587 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/12.17, allocations: 18.45 kB / 3.587 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/12.17, allocations: 3.656 kB / 3.587 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/12.17, allocations: 3.891 kB / 3.587 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/12.17, allocations: 2.338 MB / 3.589 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/12.17, allocations: 0 / 3.589 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/12.18, allocations: 169.5 kB / 3.589 GB, free: 30.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/12.18, allocations: 124.4 kB / 3.59 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/12.18, allocations: 3.812 kB / 3.59 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/12.18, allocations: 2.079 MB / 3.592 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/12.18, allocations: 0 / 3.592 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/12.18, allocations: 1.506 MB / 3.593 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/12.18, allocations: 210.4 kB / 3.593 GB, free: 28.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/12.18, allocations: 9.203 kB / 3.593 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/12.18, allocations: 16.62 kB / 3.593 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/12.18, allocations: 28.08 kB / 3.593 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/12.18, allocations: 17.86 kB / 3.593 GB, free: 28.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006463/12.18, allocations: 356.2 kB / 3.594 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/12.18, allocations: 0 / 3.594 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006015/12.19, allocations: 1.088 MB / 3.595 GB, free: 28.72 MB / 0.5261 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.01421/12.2, allocations: 3.598 MB / 3.598 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002864/12.21, allocations: 0.8099 MB / 3.599 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/12.21, allocations: 6.562 kB / 3.599 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/12.21, allocations: 0.5288 MB / 3.6 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/12.21, allocations: 275.3 kB / 3.6 GB, free: 27.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008255/12.22, allocations: 1.886 MB / 3.602 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008332/12.22, allocations: 1.061 MB / 3.603 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001624/12.22, allocations: 433 kB / 3.603 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/12.22, allocations: 311.2 kB / 3.603 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/12.22, allocations: 0 / 3.603 GB, free: 26.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1384/12.36, allocations: 41.66 MB / 3.644 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003448/12.36, allocations: 202.6 kB / 3.644 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.562/16.92, allocations: 0 / 3.644 GB, free: 15.52 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat