Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.295/2.295, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.384e-05/4.423e-05, allocations: 7.984 kB / 292.2 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 50.41 MB / 342.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.907/9.035, allocations: 2.761 GB / 3.096 GB, free: 90.65 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/9.036, allocations: 83.05 kB / 3.096 GB, free: 90.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.337/14.37, allocations: 0.9762 GB / 4.072 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.325e-06/14.37, allocations: 4 kB / 4.072 GB, free: 15.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002541/14.37, allocations: 67.86 kB / 4.072 GB, free: 15.72 MB / 490.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.01762/14.39, allocations: 3.39 MB / 4.076 GB, free: 12.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/14.39, allocations: 8.875 kB / 4.076 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001037/14.39, allocations: 273.6 kB / 4.076 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02265/14.41, allocations: 1.227 MB / 4.077 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/14.42, allocations: 1.529 MB / 4.079 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004762/14.42, allocations: 341.8 kB / 4.079 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/14.42, allocations: 184 kB / 4.079 GB, free: 8.621 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/14.43, allocations: 3.452 MB / 4.082 GB, free: 5.027 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.593e-05/14.43, allocations: 19.78 kB / 4.082 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005279/14.44, allocations: 83.97 kB / 4.083 GB, free: 4.926 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/14.44, allocations: 103.3 kB / 4.083 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/14.45, allocations: 3.274 MB / 4.086 GB, free: 1.547 MB / 490.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.04291/14.49, allocations: 14.41 MB / 4.1 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4305/14.92, allocations: 2.67 MB / 4.103 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00437/14.93, allocations: 1.274 MB / 4.104 GB, free: 38.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0289/14.95, allocations: 8.276 MB / 4.112 GB, free: 33.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.394e-05/14.95, allocations: 58.34 kB / 4.112 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006015/14.96, allocations: 0.563 MB / 4.112 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=175): time 1.106e-05/14.96, allocations: 3.219 kB / 4.112 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=205): time 0.05346/15.01, allocations: 10.13 MB / 4.122 GB, free: 33.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/15.01, allocations: 153.4 kB / 4.123 GB, free: 33.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/15.02, allocations: 1.212 MB / 4.124 GB, free: 32.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008122/15.02, allocations: 65.64 kB / 4.124 GB, free: 32.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007246/15.02, allocations: 0.7861 MB / 4.125 GB, free: 32.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/15.02, allocations: 0.6734 MB / 4.125 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/15.02, allocations: 41.47 kB / 4.125 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001603/15.02, allocations: 391.1 kB / 4.126 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003/15.02, allocations: 1.104 MB / 4.127 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005547/15.03, allocations: 1.51 MB / 4.128 GB, free: 31.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00414/15.03, allocations: 1.217 MB / 4.129 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/15.03, allocations: 5.781 kB / 4.129 GB, free: 31.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01115/15.04, allocations: 3.568 MB / 4.133 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/15.04, allocations: 15.64 kB / 4.133 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.851e-05/15.04, allocations: 10.38 kB / 4.133 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00717/15.05, allocations: 1.538 MB / 4.134 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003986/15.06, allocations: 458.5 kB / 4.135 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008039/15.06, allocations: 6.589 MB / 4.141 GB, free: 26.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004585/15.07, allocations: 219.1 kB / 4.141 GB, free: 26.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/15.07, allocations: 118.6 kB / 4.142 GB, free: 26.45 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (213): * Single equations (assignments): 204 * 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 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007916/15.07, allocations: 246.7 kB / 4.142 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007189/15.07, allocations: 196.8 kB / 4.142 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01805/15.09, allocations: 9.648 MB / 4.151 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001211/15.09, allocations: 106.8 kB / 4.152 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/15.09, allocations: 0 / 4.152 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-05/15.09, allocations: 10.03 kB / 4.152 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/15.12, allocations: 13.13 MB / 4.164 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/15.12, allocations: 2.062 kB / 4.164 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003668/15.12, allocations: 403 kB / 4.165 GB, free: 24.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01074/15.13, allocations: 4.686 MB / 4.169 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006856/15.13, allocations: 60.36 kB / 4.169 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/15.14, allocations: 8.767 MB / 4.178 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/15.14, allocations: 0 / 4.178 GB, free: 19.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02795/15.17, allocations: 10.22 MB / 4.188 GB, free: 18.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/15.17, allocations: 0.912 MB / 4.189 GB, free: 18.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001056/15.17, allocations: 48.55 kB / 4.189 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004576/15.18, allocations: 240.5 kB / 4.189 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/15.18, allocations: 222.7 kB / 4.189 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003832/15.18, allocations: 87.48 kB / 4.189 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002744/15.18, allocations: 1.23 MB / 4.191 GB, free: 18.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.534e-06/15.18, allocations: 0 / 4.191 GB, free: 18.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009925/15.19, allocations: 1.924 MB / 4.192 GB, free: 18.03 MB / 0.4948 GB 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.03514/15.23, allocations: 12.24 MB / 4.204 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01208/15.24, allocations: 3.87 MB / 4.208 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/15.24, allocations: 4.969 kB / 4.208 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008645/15.25, allocations: 2.963 MB / 4.211 GB, free: 16.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009468/15.26, allocations: 1.046 MB / 4.212 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/15.28, allocations: 7.682 MB / 4.22 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/15.28, allocations: 2.228 MB / 4.222 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005501/15.29, allocations: 1.749 MB / 4.223 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/15.29, allocations: 1.32 MB / 4.225 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/15.29, allocations: 0 / 4.225 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7523/16.05, allocations: 129.3 MB / 4.351 GB, free: 51.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002916/16.05, allocations: 234.7 kB / 4.351 GB, free: 51.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.764/25.81, allocations: 0 / 4.351 GB, free: 51.45 MB / 0.5105 GB