Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 171.3 MB / 178.4 MB, free: 156 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.421e-05/2.421e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2788, allocations: 38.76 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8742/1.153, allocations: 271.3 MB / 0.5172 GB, free: 83.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/1.153, allocations: 68.56 kB / 0.5173 GB, free: 83.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.487/10.64, allocations: 1.621 GB / 2.139 GB, free: 22.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.174e-06/10.64, allocations: 0 / 2.139 GB, free: 22.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00106/10.64, allocations: 196.6 kB / 2.139 GB, free: 22.82 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.04947/10.69, allocations: 10.09 MB / 2.149 GB, free: 17.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/10.69, allocations: 7.75 kB / 2.149 GB, free: 17.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01426/10.71, allocations: 1.237 MB / 2.15 GB, free: 17.31 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02922/10.73, allocations: 6.332 MB / 2.156 GB, free: 16.07 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005769/10.74, allocations: 183.4 kB / 2.156 GB, free: 16.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003439/10.74, allocations: 324.4 kB / 2.157 GB, free: 16.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02323/10.76, allocations: 7.519 MB / 2.164 GB, free: 16.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/10.79, allocations: 8.468 MB / 2.172 GB, free: 14.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000178/10.79, allocations: 15.12 kB / 2.172 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001715/10.79, allocations: 21.72 kB / 2.172 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001127/10.79, allocations: 0.5889 MB / 2.173 GB, free: 14.48 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.09034/10.89, allocations: 33.72 MB / 2.206 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/10.9, allocations: 5.753 MB / 2.211 GB, free: 232 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.4723/11.37, allocations: 3.731 MB / 2.215 GB, free: 35.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008684/11.38, allocations: 4.757 MB / 2.22 GB, free: 30.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/11.38, allocations: 93.05 kB / 2.22 GB, free: 30.48 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0123/11.39, allocations: 1.518 MB / 2.221 GB, free: 30.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=500): time 4.466e-05/11.39, allocations: 2.031 kB / 2.221 GB, free: 30.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=632): time 0.2312/11.63, allocations: 35.8 MB / 2.256 GB, free: 28.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/11.63, allocations: 166.3 kB / 2.256 GB, free: 28.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007708/11.63, allocations: 3.208 MB / 2.259 GB, free: 28.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002321/11.64, allocations: 30.8 kB / 2.26 GB, free: 28.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003408/11.64, allocations: 2.973 MB / 2.262 GB, free: 27.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00402/11.64, allocations: 2.083 MB / 2.264 GB, free: 26.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009201/11.64, allocations: 3.344 kB / 2.264 GB, free: 26.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005081/11.65, allocations: 0.5881 MB / 2.265 GB, free: 26.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/11.66, allocations: 3.719 MB / 2.269 GB, free: 26.08 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01382/11.67, allocations: 5.358 MB / 2.274 GB, free: 24.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05972/11.73, allocations: 8.39 MB / 2.282 GB, free: 24.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/11.73, allocations: 17.86 kB / 2.282 GB, free: 24.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.08742/11.82, allocations: 15.37 MB / 2.297 GB, free: 23.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.004483/11.82, allocations: 20.65 MB / 2.317 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003036/11.82, allocations: 46.25 kB / 2.317 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01577/11.84, allocations: 3.331 MB / 2.321 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/11.85, allocations: 1.37 MB / 2.322 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02897/11.88, allocations: 18.3 MB / 2.34 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01286/11.89, allocations: 370.3 kB / 2.34 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003057/11.89, allocations: 428.4 kB / 2.341 GB, free: 5.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/11.89, allocations: 4.031 kB / 2.341 GB, free: 5.805 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0823/11.98, allocations: 14.4 MB / 2.355 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002121/11.98, allocations: 42.06 kB / 2.355 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01452/11.99, allocations: 3.003 MB / 2.358 GB, free: 2.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01188/12, allocations: 1.392 MB / 2.359 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03716/12.04, allocations: 21.78 MB / 2.38 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01207/12.05, allocations: 357.2 kB / 2.381 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003061/12.06, allocations: 412.5 kB / 2.381 GB, free: 1.965 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.004564/12.06, allocations: 330.4 kB / 2.381 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09188/12.15, allocations: 13.93 MB / 2.395 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004081/12.16, allocations: 0.5886 MB / 2.395 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5502/12.71, allocations: 16.12 MB / 2.411 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001471/12.71, allocations: 64.91 kB / 2.411 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.672e-05/12.71, allocations: 0.8438 kB / 2.411 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07119/12.78, allocations: 12.26 MB / 2.423 GB, free: 73.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1155/12.89, allocations: 26.55 MB / 2.449 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.643e-05/12.89, allocations: 21.36 kB / 2.449 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008084/12.9, allocations: 0.8641 MB / 2.45 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02963/12.93, allocations: 4.13 MB / 2.454 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002014/12.93, allocations: 146.1 kB / 2.454 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02469/12.96, allocations: 18.1 MB / 2.472 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.952e-05/12.96, allocations: 24.94 kB / 2.472 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08669/13.05, allocations: 21.32 MB / 2.493 GB, free: 55.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007394/13.05, allocations: 1.642 MB / 2.494 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003419/13.06, allocations: 57.48 kB / 2.494 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009693/13.07, allocations: 218.9 kB / 2.495 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002398/13.07, allocations: 464.6 kB / 2.495 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00146/13.07, allocations: 321.5 kB / 2.495 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005904/13.08, allocations: 2.308 MB / 2.498 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.72e-07/13.08, allocations: 0 / 2.498 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.03196/13.11, allocations: 5.463 MB / 2.503 GB, free: 55.14 MB / 0.5105 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.1047/13.21, allocations: 28.73 MB / 2.531 GB, free: 46.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04508/13.26, allocations: 14.97 MB / 2.546 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.42e-05/13.26, allocations: 7.875 kB / 2.546 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01528/13.27, allocations: 4.617 MB / 2.55 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02085/13.29, allocations: 2.204 MB / 2.552 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05453/13.35, allocations: 16.89 MB / 2.569 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006989/13.36, allocations: 4.522 MB / 2.573 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02769/13.38, allocations: 5.168 MB / 2.578 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008799/13.39, allocations: 3.064 MB / 2.581 GB, free: 17.47 MB / 0.5105 GB Notification: Performance of SimCode: time 1.814e-06/13.39, allocations: 0 / 2.581 GB, free: 17.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.489/14.88, allocations: 233.9 MB / 2.81 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/14.88, allocations: 171.4 kB / 2.81 GB, free: 64.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/29.07, allocations: 0 / 2.81 GB, free: 64.15 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat