Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.701/1.701, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.634e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2716, allocations: 38.76 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.982/7.254, allocations: 2.478 GB / 2.73 GB, free: 19.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/7.254, allocations: 77.84 kB / 2.73 GB, free: 19.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.983/12.24, allocations: 0.927 GB / 3.657 GB, free: 17.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.684e-06/12.24, allocations: 0 / 3.657 GB, free: 17.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002401/12.24, allocations: 61.31 kB / 3.657 GB, free: 17.35 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01537/12.25, allocations: 3.304 MB / 3.66 GB, free: 15.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/12.25, allocations: 7.188 kB / 3.66 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02194/12.28, allocations: 1.128 MB / 3.661 GB, free: 15.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/12.28, allocations: 1.536 MB / 3.663 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004086/12.28, allocations: 278.5 kB / 3.663 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008607/12.28, allocations: 124.2 kB / 3.663 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007749/12.29, allocations: 2.664 MB / 3.666 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008327/12.3, allocations: 2.698 MB / 3.668 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.033e-05/12.3, allocations: 4.938 kB / 3.668 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/12.3, allocations: 4.375 kB / 3.668 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/12.3, allocations: 104.1 kB / 3.669 GB, free: 14.7 MB / 394.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.03455/12.33, allocations: 14.05 MB / 3.682 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004794/12.34, allocations: 2.097 MB / 3.684 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/12.34, allocations: 1.222 MB / 3.686 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009996/12.35, allocations: 3.741 MB / 3.689 GB, free: 20.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.633e-05/12.35, allocations: 57.84 kB / 3.689 GB, free: 20.9 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005646/12.36, allocations: 0.5079 MB / 3.69 GB, free: 20.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 1.373e-05/12.36, allocations: 0 / 3.69 GB, free: 20.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.05088/12.41, allocations: 9.888 MB / 3.699 GB, free: 20.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/12.41, allocations: 154.8 kB / 3.7 GB, free: 19.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/12.41, allocations: 0.8537 MB / 3.7 GB, free: 19.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008505/12.41, allocations: 27.92 kB / 3.7 GB, free: 19.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/12.41, allocations: 0.8143 MB / 3.701 GB, free: 19.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001479/12.41, allocations: 0.6455 MB / 3.702 GB, free: 18.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/12.42, allocations: 0 / 3.702 GB, free: 18.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003627/12.42, allocations: 392.9 kB / 3.702 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/12.42, allocations: 1.075 MB / 3.703 GB, free: 18.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004689/12.42, allocations: 1.513 MB / 3.705 GB, free: 18.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/12.44, allocations: 1.827 MB / 3.707 GB, free: 18.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.249e-05/12.44, allocations: 2.844 kB / 3.707 GB, free: 18.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.02312/12.46, allocations: 4.066 MB / 3.71 GB, free: 17.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00211/12.46, allocations: 4.896 MB / 3.715 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.367e-05/12.46, allocations: 16.83 kB / 3.715 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006764/12.47, allocations: 1.507 MB / 3.717 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003989/12.47, allocations: 476.8 kB / 3.717 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/12.49, allocations: 7.25 MB / 3.724 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004339/12.49, allocations: 174.2 kB / 3.724 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005961/12.49, allocations: 122.4 kB / 3.725 GB, free: 7.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/12.49, allocations: 6.875 kB / 3.725 GB, free: 7.902 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01092/12.5, allocations: 3.116 MB / 3.728 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.324e-05/12.5, allocations: 12.09 kB / 3.728 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/12.51, allocations: 1.011 MB / 3.729 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/12.51, allocations: 0.4975 MB / 3.729 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/12.53, allocations: 9.931 MB / 3.739 GB, free: 16.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00581/12.53, allocations: 178.2 kB / 3.739 GB, free: 16.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/12.53, allocations: 117.5 kB / 3.739 GB, free: 16.55 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot3.mb_flow:VARIABLE(min = max(-(if junctionIdeal.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59), -100000.0) max = min(-(if junctionIdeal.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59), 100000.0) unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankHot3.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankHot3.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankCold3.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankCold3.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot1.mb_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankHot1.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankHot1.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankCold1.Wb_flow:VARIABLE(unit = "W" ) "Work flow across boundaries or source term" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot2.mb_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot2.Wb_flow:VARIABLE(unit = "W" ) "Work flow across boundaries or source term" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankCold2.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankCold2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 210 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,4 6,2 4,2 4,4 6,2 4,2 4,4 8} Notification: Performance of prepare postOptimizeDAE: time 0.002221/12.54, allocations: 221.5 kB / 3.739 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01621/12.55, allocations: 3.758 MB / 3.743 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/12.55, allocations: 174.4 kB / 3.743 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02505/12.58, allocations: 10.04 MB / 3.753 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001856/12.58, allocations: 108.7 kB / 3.753 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/12.58, allocations: 0 / 3.753 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.387e-05/12.58, allocations: 15.25 kB / 3.753 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3825/12.96, allocations: 13.18 MB / 3.766 GB, free: 45.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.684e-05/12.96, allocations: 5.156 kB / 3.766 GB, free: 45.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00388/12.97, allocations: 401.8 kB / 3.766 GB, free: 45.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/12.98, allocations: 4.653 MB / 3.771 GB, free: 44.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006747/12.98, allocations: 28.17 kB / 3.771 GB, free: 44.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/12.99, allocations: 9.797 MB / 3.78 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/12.99, allocations: 0 / 3.78 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02734/13.02, allocations: 10.63 MB / 3.791 GB, free: 39.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002787/13.02, allocations: 0.8784 MB / 3.792 GB, free: 39.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/13.03, allocations: 10.78 kB / 3.792 GB, free: 39.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004464/13.03, allocations: 194.6 kB / 3.792 GB, free: 39.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001125/13.03, allocations: 226 kB / 3.792 GB, free: 39.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/13.03, allocations: 89.7 kB / 3.792 GB, free: 39.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00199/13.03, allocations: 0.9064 MB / 3.793 GB, free: 39.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.763e-06/13.03, allocations: 0 / 3.793 GB, free: 39.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01267/13.05, allocations: 2.203 MB / 3.795 GB, free: 39.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0387/13.08, allocations: 12.81 MB / 3.808 GB, free: 37.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0176/13.1, allocations: 5.848 MB / 3.813 GB, free: 37.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/13.1, allocations: 4.469 kB / 3.813 GB, free: 37.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008621/13.11, allocations: 2.913 MB / 3.816 GB, free: 37.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0086/13.12, allocations: 0.9024 MB / 3.817 GB, free: 37.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/13.14, allocations: 7.486 MB / 3.825 GB, free: 36.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/13.15, allocations: 2.247 MB / 3.827 GB, free: 35.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009859/13.16, allocations: 3.478 MB / 3.83 GB, free: 35.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002883/13.16, allocations: 1.301 MB / 3.831 GB, free: 35.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.953e-06/13.16, allocations: 0 / 3.831 GB, free: 35.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6173/13.78, allocations: 115.6 MB / 3.944 GB, free: 59.99 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/13.78, allocations: 179.3 kB / 3.944 GB, free: 59.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.441/22.22, allocations: 0 / 3.944 GB, free: 59.8 MB / 442.7 MB