Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.202/2.202, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.435e-05, allocations: 8 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 50.4 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.569/8.685, allocations: 2.761 GB / 3.096 GB, free: 95.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/8.685, allocations: 80.52 kB / 3.097 GB, free: 95.37 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.151/13.84, allocations: 0.9762 GB / 4.073 GB, free: 19.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.304e-06/13.84, allocations: 0 / 4.073 GB, free: 19.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002451/13.84, allocations: 63.86 kB / 4.073 GB, free: 19.58 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.01684/13.85, allocations: 3.394 MB / 4.076 GB, free: 16.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/13.85, allocations: 8.875 kB / 4.076 GB, free: 16.12 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001209/13.85, allocations: 269.7 kB / 4.076 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02282/13.88, allocations: 1.227 MB / 4.078 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005707/13.88, allocations: 1.532 MB / 4.079 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004726/13.88, allocations: 345.8 kB / 4.079 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/13.88, allocations: 184 kB / 4.08 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/13.9, allocations: 3.452 MB / 4.083 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.996e-05/13.9, allocations: 11.83 kB / 4.083 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005467/13.9, allocations: 87.97 kB / 4.083 GB, free: 8.785 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/13.9, allocations: 103.3 kB / 4.083 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/13.91, allocations: 3.278 MB / 4.086 GB, free: 5.402 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.03856/13.95, allocations: 14.42 MB / 4.1 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/13.96, allocations: 2.673 MB / 4.103 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003856/13.96, allocations: 1.276 MB / 4.104 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4674/14.43, allocations: 8.261 MB / 4.112 GB, free: 37.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.032e-05/14.43, allocations: 63.06 kB / 4.112 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008862/14.44, allocations: 0.5661 MB / 4.113 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=175): time 2.394e-05/14.44, allocations: 3.156 kB / 4.113 GB, free: 37.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=205): time 0.05649/14.5, allocations: 10.12 MB / 4.123 GB, free: 36.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/14.5, allocations: 150 kB / 4.123 GB, free: 36.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/14.5, allocations: 1.211 MB / 4.124 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007918/14.5, allocations: 67.23 kB / 4.124 GB, free: 36.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008237/14.5, allocations: 0.7861 MB / 4.125 GB, free: 36.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/14.5, allocations: 0.6665 MB / 4.126 GB, free: 36.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/14.5, allocations: 41.44 kB / 4.126 GB, free: 36.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001894/14.5, allocations: 394.5 kB / 4.126 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/14.51, allocations: 1.102 MB / 4.127 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/14.51, allocations: 1.52 MB / 4.129 GB, free: 35.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003524/14.51, allocations: 1.205 MB / 4.13 GB, free: 35.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.996e-05/14.51, allocations: 5.531 kB / 4.13 GB, free: 35.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01151/14.53, allocations: 3.573 MB / 4.133 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/14.53, allocations: 9.719 kB / 4.133 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/14.53, allocations: 12.25 kB / 4.133 GB, free: 35.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007523/14.53, allocations: 1.546 MB / 4.135 GB, free: 34.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/14.54, allocations: 457.8 kB / 4.135 GB, free: 34.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0085/14.55, allocations: 6.579 MB / 4.142 GB, free: 30.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005163/14.55, allocations: 223.2 kB / 4.142 GB, free: 30.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000999/14.55, allocations: 118.5 kB / 4.142 GB, free: 30.24 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.001128/14.55, allocations: 244.3 kB / 4.142 GB, free: 30.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008917/14.55, allocations: 196.6 kB / 4.142 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01972/14.57, allocations: 9.649 MB / 4.152 GB, free: 29.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/14.57, allocations: 104 kB / 4.152 GB, free: 29.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/14.57, allocations: 0 / 4.152 GB, free: 29.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.876e-05/14.57, allocations: 10.78 kB / 4.152 GB, free: 29.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02695/14.6, allocations: 13.14 MB / 4.165 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/14.6, allocations: 2.875 kB / 4.165 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00362/14.61, allocations: 400 kB / 4.165 GB, free: 28.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01073/14.62, allocations: 4.696 MB / 4.17 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006598/14.62, allocations: 64.34 kB / 4.17 GB, free: 27.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/14.63, allocations: 8.76 MB / 4.178 GB, free: 23.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/14.63, allocations: 0 / 4.178 GB, free: 23.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/14.65, allocations: 10.23 MB / 4.188 GB, free: 22.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002907/14.65, allocations: 0.9147 MB / 4.189 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009043/14.65, allocations: 43.53 kB / 4.189 GB, free: 22.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004259/14.66, allocations: 237.5 kB / 4.19 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00091/14.66, allocations: 229.5 kB / 4.19 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003755/14.66, allocations: 88.16 kB / 4.19 GB, free: 22.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002561/14.66, allocations: 1.229 MB / 4.191 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.41e-07/14.66, allocations: 0 / 4.191 GB, free: 21.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009946/14.67, allocations: 1.919 MB / 4.193 GB, free: 21.82 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.03395/14.7, allocations: 12.25 MB / 4.205 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01155/14.72, allocations: 3.87 MB / 4.209 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/14.72, allocations: 0.5625 kB / 4.209 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00912/14.73, allocations: 2.965 MB / 4.212 GB, free: 20.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009739/14.74, allocations: 1.042 MB / 4.213 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/14.76, allocations: 7.686 MB / 4.22 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/14.76, allocations: 2.228 MB / 4.222 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005501/14.77, allocations: 1.744 MB / 4.224 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002863/14.77, allocations: 1.328 MB / 4.225 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of SimCode: time 1.993e-06/14.77, allocations: 0 / 4.225 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7463/15.52, allocations: 129.7 MB / 4.352 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/15.52, allocations: 234.3 kB / 4.352 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.331/24.85, allocations: 0 / 4.352 GB, free: 50.38 MB / 0.5105 GB