Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.681/1.681, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.335e-05, allocations: 0 / 219.5 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2555, allocations: 38.76 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8817/1.137, allocations: 271.3 MB / 0.5172 GB, free: 83.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/1.138, allocations: 75.98 kB / 0.5173 GB, free: 83.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.369/10.51, allocations: 1.621 GB / 2.139 GB, free: 22.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.285e-06/10.51, allocations: 0 / 2.139 GB, free: 22.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001141/10.51, allocations: 192.1 kB / 2.139 GB, free: 22.29 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.0506/10.56, allocations: 10.1 MB / 2.149 GB, free: 17.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/10.56, allocations: 10.34 kB / 2.149 GB, free: 17.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/10.57, allocations: 1.236 MB / 2.15 GB, free: 16.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03066/10.6, allocations: 6.328 MB / 2.156 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000577/10.6, allocations: 187.3 kB / 2.156 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003555/10.61, allocations: 319.3 kB / 2.157 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02365/10.63, allocations: 7.522 MB / 2.164 GB, free: 15.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03176/10.66, allocations: 8.464 MB / 2.172 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002816/10.66, allocations: 22.81 kB / 2.172 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003321/10.67, allocations: 19.28 kB / 2.172 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001328/10.67, allocations: 0.5875 MB / 2.173 GB, free: 13.96 MB / 458.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.0917/10.76, allocations: 33.72 MB / 2.206 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/10.78, allocations: 5.75 MB / 2.211 GB, free: 436 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4682/11.24, allocations: 3.728 MB / 2.215 GB, free: 34.95 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009028/11.25, allocations: 4.759 MB / 2.22 GB, free: 29.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/11.25, allocations: 95.58 kB / 2.22 GB, free: 29.93 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01242/11.27, allocations: 1.515 MB / 2.221 GB, free: 29.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 4.506e-05/11.27, allocations: 0 / 2.221 GB, free: 29.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.2386/11.5, allocations: 35.81 MB / 2.256 GB, free: 28.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/11.51, allocations: 167.8 kB / 2.256 GB, free: 28.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008951/11.51, allocations: 3.207 MB / 2.259 GB, free: 27.89 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002313/11.52, allocations: 27.14 kB / 2.259 GB, free: 27.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003138/11.52, allocations: 2.708 MB / 2.262 GB, free: 26.92 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004217/11.52, allocations: 2.084 MB / 2.264 GB, free: 25.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002043/11.53, allocations: 0 / 2.264 GB, free: 25.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007286/11.53, allocations: 0.5938 MB / 2.265 GB, free: 25.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/11.54, allocations: 3.722 MB / 2.268 GB, free: 25.48 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01333/11.55, allocations: 5.354 MB / 2.274 GB, free: 23.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.06087/11.61, allocations: 8.389 MB / 2.282 GB, free: 23.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/11.61, allocations: 20.14 kB / 2.282 GB, free: 23.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.08857/11.7, allocations: 15.08 MB / 2.297 GB, free: 23.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004287/11.7, allocations: 17.67 MB / 2.314 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003206/11.71, allocations: 49.27 kB / 2.314 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/11.72, allocations: 3.335 MB / 2.317 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/11.73, allocations: 1.368 MB / 2.318 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0297/11.76, allocations: 18.3 MB / 2.336 GB, free: 8.555 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01358/11.78, allocations: 372.3 kB / 2.337 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003282/11.78, allocations: 420.9 kB / 2.337 GB, free: 8.539 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/11.78, allocations: 3.688 kB / 2.337 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08737/11.87, allocations: 14.39 MB / 2.351 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/11.87, allocations: 44.22 kB / 2.351 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/11.88, allocations: 2.728 MB / 2.354 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01174/11.89, allocations: 1.395 MB / 2.355 GB, free: 5.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03579/11.93, allocations: 21.69 MB / 2.376 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009965/11.94, allocations: 355 kB / 2.377 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002346/11.94, allocations: 408.6 kB / 2.377 GB, free: 4.953 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe7.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe5.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe11.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe5.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe10.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe9.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe8.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe7.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe6.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe6.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe4.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe4.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe3.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe3.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe2.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe1.mediums[2].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pipe1.mediums[1].T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 734 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.003209/11.94, allocations: 325.4 kB / 2.377 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.5428/12.49, allocations: 13.87 MB / 2.391 GB, free: 60.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004177/12.49, allocations: 0.5887 MB / 2.392 GB, free: 60.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09436/12.59, allocations: 15.9 MB / 2.407 GB, free: 59.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001536/12.59, allocations: 69.06 kB / 2.407 GB, free: 59.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-05/12.59, allocations: 4.812 kB / 2.407 GB, free: 59.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07362/12.66, allocations: 12.26 MB / 2.419 GB, free: 59.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1173/12.78, allocations: 26.55 MB / 2.445 GB, free: 57.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001091/12.78, allocations: 14.19 kB / 2.445 GB, free: 57.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008022/12.78, allocations: 0.8712 MB / 2.446 GB, free: 57.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02927/12.81, allocations: 4.128 MB / 2.45 GB, free: 56.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002059/12.82, allocations: 151.8 kB / 2.45 GB, free: 56.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02518/12.84, allocations: 18.1 MB / 2.468 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.948e-05/12.84, allocations: 27.58 kB / 2.468 GB, free: 44.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1027/12.94, allocations: 21.32 MB / 2.489 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007568/12.95, allocations: 1.646 MB / 2.49 GB, free: 40.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003802/12.96, allocations: 57.8 kB / 2.49 GB, free: 40.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01026/12.97, allocations: 217.8 kB / 2.49 GB, free: 40.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002561/12.97, allocations: 463.6 kB / 2.491 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002126/12.97, allocations: 322.1 kB / 2.491 GB, free: 40.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006794/12.98, allocations: 2.31 MB / 2.493 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.92e-07/12.98, allocations: 0 / 2.493 GB, free: 40.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.03369/13.01, allocations: 5.447 MB / 2.499 GB, free: 40.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.103/13.11, allocations: 28.73 MB / 2.527 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04322/13.16, allocations: 14.8 MB / 2.541 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-05/13.16, allocations: 5.688 kB / 2.541 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01502/13.17, allocations: 4.626 MB / 2.546 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02128/13.19, allocations: 2.199 MB / 2.548 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06023/13.25, allocations: 17.06 MB / 2.565 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4728/13.73, allocations: 4.564 MB / 2.569 GB, free: 70.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01195/13.74, allocations: 3.211 MB / 2.572 GB, free: 70.13 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/13.74, allocations: 0 / 2.572 GB, free: 70.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.855/23.59, allocations: 0.76 GB / 3.332 GB, free: 85.39 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat