Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.115e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3093, allocations: 44.48 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6876/0.997, allocations: 276.6 MB / 0.5574 GB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.9973, allocations: 71.91 kB / 0.5575 GB, free: 13.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.45/11.44, allocations: 1.646 GB / 2.203 GB, free: 27.03 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.003e-06/11.44, allocations: 0 / 2.203 GB, free: 27.03 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001228/11.45, allocations: 194.7 kB / 2.203 GB, free: 27 MB / 0.4949 GB 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.05332/11.5, allocations: 10.1 MB / 2.213 GB, free: 22.4 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/11.5, allocations: 11.91 kB / 2.213 GB, free: 22.4 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/11.51, allocations: 1.239 MB / 2.215 GB, free: 22 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03221/11.55, allocations: 6.325 MB / 2.221 GB, free: 20.98 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007017/11.55, allocations: 187.4 kB / 2.221 GB, free: 20.98 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004308/11.55, allocations: 321.3 kB / 2.221 GB, free: 20.98 MB / 0.4949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02535/11.58, allocations: 7.528 MB / 2.229 GB, free: 20.95 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04089/11.62, allocations: 8.458 MB / 2.237 GB, free: 19.53 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003423/11.62, allocations: 18.91 kB / 2.237 GB, free: 19.53 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003737/11.62, allocations: 17.53 kB / 2.237 GB, free: 19.53 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001555/11.62, allocations: 0.5971 MB / 2.237 GB, free: 19.52 MB / 0.4949 GB 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.09659/11.72, allocations: 33.72 MB / 2.27 GB, free: 4.652 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/11.73, allocations: 5.756 MB / 2.276 GB, free: 4.57 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009574/11.74, allocations: 3.507 MB / 2.279 GB, free: 4.547 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0093/11.75, allocations: 4.757 MB / 2.284 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/11.75, allocations: 98.23 kB / 2.284 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01264/11.77, allocations: 1.514 MB / 2.286 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=500): time 5.452e-05/11.77, allocations: 0 / 2.286 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=632): time 0.2457/12.01, allocations: 35.82 MB / 2.321 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/12.01, allocations: 167.8 kB / 2.321 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009987/12.02, allocations: 3.21 MB / 2.324 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002694/12.02, allocations: 33.64 kB / 2.324 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004546/12.03, allocations: 2.974 MB / 2.327 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005176/12.03, allocations: 2.082 MB / 2.329 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002215/12.04, allocations: 0 / 2.329 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009596/12.04, allocations: 0.5877 MB / 2.329 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01259/12.05, allocations: 3.725 MB / 2.333 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01452/12.07, allocations: 5.346 MB / 2.338 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6076/12.67, allocations: 9.92 MB / 2.348 GB, free: 50.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/12.67, allocations: 12.91 kB / 2.348 GB, free: 50.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.09323/12.77, allocations: 15.37 MB / 2.363 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00562/12.77, allocations: 20.66 MB / 2.383 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002969/12.77, allocations: 43.28 kB / 2.383 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01668/12.79, allocations: 3.336 MB / 2.386 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/12.8, allocations: 1.367 MB / 2.388 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0287/12.83, allocations: 18.29 MB / 2.406 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01364/12.84, allocations: 364.5 kB / 2.406 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00355/12.85, allocations: 428.6 kB / 2.406 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/12.85, allocations: 3.75 kB / 2.406 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08892/12.94, allocations: 14.39 MB / 2.42 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002586/12.94, allocations: 43.56 kB / 2.421 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01484/12.95, allocations: 3.009 MB / 2.423 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0122/12.96, allocations: 1.392 MB / 2.425 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03651/13, allocations: 21.76 MB / 2.446 GB, free: 19.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/13.01, allocations: 358.9 kB / 2.446 GB, free: 19.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003282/13.02, allocations: 416.1 kB / 2.447 GB, free: 19.56 MB / 0.5417 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.0052/13.02, allocations: 317.3 kB / 2.447 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08238/13.1, allocations: 13.29 MB / 2.46 GB, free: 19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004211/13.11, allocations: 0.5928 MB / 2.461 GB, free: 18.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09788/13.21, allocations: 15.9 MB / 2.476 GB, free: 18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001504/13.21, allocations: 72.3 kB / 2.476 GB, free: 18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.869e-05/13.21, allocations: 1.203 kB / 2.476 GB, free: 18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0745/13.28, allocations: 12.25 MB / 2.488 GB, free: 17.33 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1225/13.4, allocations: 26.55 MB / 2.514 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001078/13.4, allocations: 15.53 kB / 2.514 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00828/13.41, allocations: 0.8614 MB / 2.515 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03012/13.44, allocations: 4.135 MB / 2.519 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002209/13.44, allocations: 143.3 kB / 2.519 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02898/13.47, allocations: 18.1 MB / 2.537 GB, free: 11.49 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.979e-05/13.47, allocations: 29.7 kB / 2.537 GB, free: 11.48 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6266/14.1, allocations: 21.46 MB / 2.558 GB, free: 77.91 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008097/14.11, allocations: 1.643 MB / 2.559 GB, free: 77.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004353/14.11, allocations: 59.67 kB / 2.559 GB, free: 77.82 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01094/14.12, allocations: 217.8 kB / 2.56 GB, free: 77.82 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002786/14.13, allocations: 465.6 kB / 2.56 GB, free: 77.81 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002614/14.13, allocations: 318.5 kB / 2.56 GB, free: 77.81 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.007473/14.14, allocations: 2.308 MB / 2.563 GB, free: 77.63 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.92e-07/14.14, allocations: 0 / 2.563 GB, free: 77.63 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.03574/14.17, allocations: 5.461 MB / 2.568 GB, free: 77.63 MB / 0.5574 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.1124/14.29, allocations: 28.74 MB / 2.596 GB, free: 69.75 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04916/14.33, allocations: 14.97 MB / 2.611 GB, free: 69.41 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.648e-05/14.33, allocations: 7.375 kB / 2.611 GB, free: 69.41 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01665/14.35, allocations: 4.625 MB / 2.615 GB, free: 69.35 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02223/14.37, allocations: 2.197 MB / 2.617 GB, free: 69.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06357/14.44, allocations: 16.88 MB / 2.634 GB, free: 66.32 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01045/14.45, allocations: 4.525 MB / 2.638 GB, free: 65.44 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.03364/14.48, allocations: 5.171 MB / 2.643 GB, free: 65.27 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009645/14.49, allocations: 3.068 MB / 2.646 GB, free: 65.27 MB / 0.5574 GB Notification: Performance of SimCode: time 1.773e-06/14.49, allocations: 3.391 kB / 2.646 GB, free: 65.27 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.133/15.62, allocations: 233.8 MB / 2.875 GB, free: 62.71 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/15.62, allocations: 169.8 kB / 2.875 GB, free: 62.52 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.53/32.16, allocations: 3.938 kB / 2.875 GB, free: 62.52 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat