Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.842e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3355, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.755/8.09, allocations: 2.587 GB / 2.875 GB, free: 69.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/8.091, allocations: 80.39 kB / 2.875 GB, free: 69.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.379/13.47, allocations: 0.9518 GB / 3.826 GB, free: 21.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/13.47, allocations: 0 / 3.826 GB, free: 21.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003061/13.47, allocations: 55.81 kB / 3.827 GB, free: 21.72 MB / 442.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.01803/13.49, allocations: 3.386 MB / 3.83 GB, free: 20.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/13.49, allocations: 13.39 kB / 3.83 GB, free: 20.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0234/13.51, allocations: 1.221 MB / 3.831 GB, free: 20.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006395/13.52, allocations: 1.532 MB / 3.833 GB, free: 19.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004988/13.52, allocations: 283.6 kB / 3.833 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/13.52, allocations: 110.4 kB / 3.833 GB, free: 19.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008989/13.53, allocations: 2.665 MB / 3.836 GB, free: 19.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/13.54, allocations: 2.696 MB / 3.838 GB, free: 19.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/13.54, allocations: 10.92 kB / 3.838 GB, free: 19.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/13.54, allocations: 13.56 kB / 3.838 GB, free: 19.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/13.54, allocations: 101.8 kB / 3.838 GB, free: 19.05 MB / 442.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.03893/13.58, allocations: 14.06 MB / 3.852 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005543/13.59, allocations: 2.097 MB / 3.854 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/13.59, allocations: 1.218 MB / 3.855 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/13.6, allocations: 3.767 MB / 3.859 GB, free: 25.31 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.169e-05/13.6, allocations: 59.78 kB / 3.859 GB, free: 25.27 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005828/13.61, allocations: 0.5157 MB / 3.859 GB, free: 25.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 1.762e-05/13.61, allocations: 0 / 3.859 GB, free: 25.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.0528/13.66, allocations: 9.872 MB / 3.869 GB, free: 24.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/13.66, allocations: 151.5 kB / 3.869 GB, free: 24.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/13.66, allocations: 0.8515 MB / 3.87 GB, free: 24.06 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007594/13.66, allocations: 25.7 kB / 3.87 GB, free: 24.03 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007634/13.66, allocations: 0.8153 MB / 3.871 GB, free: 23.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/13.66, allocations: 0.6473 MB / 3.872 GB, free: 23.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/13.66, allocations: 0.5625 kB / 3.872 GB, free: 23.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002757/13.67, allocations: 391.1 kB / 3.872 GB, free: 22.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/13.67, allocations: 1.067 MB / 3.873 GB, free: 22.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/13.67, allocations: 1.52 MB / 3.874 GB, free: 22.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009357/13.68, allocations: 1.826 MB / 3.876 GB, free: 22.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.144e-05/13.68, allocations: 5.375 kB / 3.876 GB, free: 22.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01792/13.7, allocations: 4.067 MB / 3.88 GB, free: 22.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00195/13.7, allocations: 4.895 MB / 3.885 GB, free: 17.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.863e-05/13.7, allocations: 10.75 kB / 3.885 GB, free: 17.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007225/13.71, allocations: 1.519 MB / 3.886 GB, free: 16.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/13.71, allocations: 468.8 kB / 3.887 GB, free: 16.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/13.73, allocations: 7.244 MB / 3.894 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004725/13.73, allocations: 181.9 kB / 3.894 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009229/13.73, allocations: 118.8 kB / 3.894 GB, free: 12.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/13.73, allocations: 3.844 kB / 3.894 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01246/13.75, allocations: 3.116 MB / 3.897 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.259e-05/13.75, allocations: 15.91 kB / 3.897 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/13.75, allocations: 1.014 MB / 3.898 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/13.75, allocations: 0.492 MB / 3.899 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01459/13.77, allocations: 9.942 MB / 3.909 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004249/13.77, allocations: 166.6 kB / 3.909 GB, free: 4.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008666/13.77, allocations: 120.8 kB / 3.909 GB, free: 4.941 MB / 458.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.001683/13.78, allocations: 225.4 kB / 3.909 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01692/13.79, allocations: 3.754 MB / 3.913 GB, free: 4.496 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/13.79, allocations: 182.1 kB / 3.913 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03243/13.83, allocations: 10.06 MB / 3.923 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000159/13.83, allocations: 103.5 kB / 3.923 GB, free: 0 / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/13.83, allocations: 0 / 3.923 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/13.83, allocations: 13.55 kB / 3.923 GB, free: 0 / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03828/13.87, allocations: 13.17 MB / 3.936 GB, free: 5.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-05/13.87, allocations: 0 / 3.936 GB, free: 5.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003848/13.87, allocations: 401.8 kB / 3.936 GB, free: 5.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01186/13.88, allocations: 4.656 MB / 3.941 GB, free: 1.719 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007443/13.88, allocations: 29.28 kB / 3.941 GB, free: 1.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4326/14.31, allocations: 9.801 MB / 3.95 GB, free: 47.42 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/14.31, allocations: 2.344 kB / 3.95 GB, free: 47.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02899/14.34, allocations: 10.63 MB / 3.961 GB, free: 46.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003384/14.35, allocations: 0.8704 MB / 3.961 GB, free: 46.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/14.35, allocations: 3.25 kB / 3.961 GB, free: 46.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004787/14.35, allocations: 200.4 kB / 3.962 GB, free: 46.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/14.35, allocations: 227.2 kB / 3.962 GB, free: 46.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005459/14.36, allocations: 92.86 kB / 3.962 GB, free: 46.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002122/14.36, allocations: 0.9048 MB / 3.963 GB, free: 46.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.61e-07/14.36, allocations: 0 / 3.963 GB, free: 46.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01432/14.37, allocations: 2.22 MB / 3.965 GB, free: 46.63 MB / 474.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.04137/14.41, allocations: 12.83 MB / 3.978 GB, free: 45.28 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01774/14.43, allocations: 5.856 MB / 3.983 GB, free: 44.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/14.43, allocations: 2.906 kB / 3.983 GB, free: 44.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0088/14.44, allocations: 2.905 MB / 3.986 GB, free: 44.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008977/14.45, allocations: 0.9064 MB / 3.987 GB, free: 44.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/14.47, allocations: 7.496 MB / 3.994 GB, free: 43.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/14.47, allocations: 2.247 MB / 3.996 GB, free: 42.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009943/14.48, allocations: 3.484 MB / 4 GB, free: 42.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002844/14.49, allocations: 1.302 MB / 4.001 GB, free: 42.64 MB / 474.7 MB Notification: Performance of SimCode: time 1.183e-06/14.49, allocations: 0 / 4.001 GB, free: 42.64 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6954/15.18, allocations: 115.9 MB / 4.114 GB, free: 54.28 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/15.18, allocations: 179.6 kB / 4.115 GB, free: 54.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.995/24.18, allocations: 0 / 4.115 GB, free: 54.09 MB / 490.7 MB