Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.163/2.163, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.866e-05/3.877e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.824/8.936, allocations: 2.756 GB / 3.066 GB, free: 96.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/8.936, allocations: 83.5 kB / 3.066 GB, free: 96.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.966/13.9, allocations: 0.966 GB / 4.032 GB, free: 4.168 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.046e-06/13.9, allocations: 0 / 4.032 GB, free: 4.168 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002374/13.9, allocations: 67.86 kB / 4.032 GB, free: 4.102 MB / 458.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.01644/13.92, allocations: 3.386 MB / 4.035 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/13.92, allocations: 8.031 kB / 4.035 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001005/13.92, allocations: 273.6 kB / 4.035 GB, free: 384 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02306/13.94, allocations: 1.227 MB / 4.036 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006704/13.95, allocations: 1.516 MB / 4.038 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006828/13.95, allocations: 349.8 kB / 4.038 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/13.95, allocations: 191.9 kB / 4.038 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/13.97, allocations: 3.452 MB / 4.042 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.661e-05/13.97, allocations: 11.92 kB / 4.042 GB, free: 9.398 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006938/13.97, allocations: 83.98 kB / 4.042 GB, free: 9.316 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002703/13.97, allocations: 103.3 kB / 4.042 GB, free: 9.215 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/13.98, allocations: 3.274 MB / 4.045 GB, free: 5.938 MB / 474.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.4895/14.47, allocations: 14.4 MB / 4.059 GB, free: 24.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/14.49, allocations: 2.676 MB / 4.062 GB, free: 24.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003971/14.49, allocations: 1.272 MB / 4.063 GB, free: 24.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0285/14.52, allocations: 8.276 MB / 4.071 GB, free: 19.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.818e-05/14.52, allocations: 55.69 kB / 4.071 GB, free: 19.5 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006256/14.52, allocations: 0.5721 MB / 4.072 GB, free: 19.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=175): time 2.057e-05/14.52, allocations: 0 / 4.072 GB, free: 19.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=205): time 0.05488/14.58, allocations: 10.12 MB / 4.082 GB, free: 18.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/14.58, allocations: 154.5 kB / 4.082 GB, free: 18.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/14.58, allocations: 1.216 MB / 4.083 GB, free: 18.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008689/14.58, allocations: 66.45 kB / 4.083 GB, free: 18.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009978/14.58, allocations: 0.7816 MB / 4.084 GB, free: 18.05 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/14.59, allocations: 0.6718 MB / 4.085 GB, free: 17.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/14.59, allocations: 42.09 kB / 4.085 GB, free: 17.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002491/14.59, allocations: 390.6 kB / 4.085 GB, free: 17.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/14.59, allocations: 1.098 MB / 4.086 GB, free: 17.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004059/14.59, allocations: 1.52 MB / 4.088 GB, free: 16.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/14.6, allocations: 1.209 MB / 4.089 GB, free: 16.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/14.6, allocations: 2.844 kB / 4.089 GB, free: 16.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01289/14.61, allocations: 3.578 MB / 4.092 GB, free: 16.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/14.61, allocations: 15.98 kB / 4.092 GB, free: 16.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/14.61, allocations: 14.09 kB / 4.092 GB, free: 16.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007833/14.62, allocations: 1.537 MB / 4.094 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/14.62, allocations: 464.8 kB / 4.094 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00869/14.63, allocations: 6.584 MB / 4.101 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004819/14.64, allocations: 220.5 kB / 4.101 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009093/14.64, allocations: 114.1 kB / 4.101 GB, free: 11.91 MB / 474.7 MB 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.001358/14.64, allocations: 241 kB / 4.101 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/14.64, allocations: 202.5 kB / 4.101 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02128/14.66, allocations: 9.64 MB / 4.111 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001459/14.66, allocations: 101.7 kB / 4.111 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/14.66, allocations: 0 / 4.111 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-05/14.66, allocations: 13.67 kB / 4.111 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/14.69, allocations: 13.15 MB / 4.124 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/14.69, allocations: 0 / 4.124 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003744/14.7, allocations: 400.6 kB / 4.124 GB, free: 9.777 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01098/14.71, allocations: 4.687 MB / 4.129 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007204/14.71, allocations: 65.2 kB / 4.129 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/14.72, allocations: 8.755 MB / 4.137 GB, free: 20.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/14.72, allocations: 3.953 kB / 4.137 GB, free: 20.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02163/14.74, allocations: 10.23 MB / 4.147 GB, free: 20.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/14.74, allocations: 0.909 MB / 4.148 GB, free: 19.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/14.74, allocations: 43.02 kB / 4.148 GB, free: 19.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004697/14.75, allocations: 239.4 kB / 4.148 GB, free: 19.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/14.75, allocations: 227.4 kB / 4.149 GB, free: 19.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004677/14.75, allocations: 86.55 kB / 4.149 GB, free: 19.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002952/14.75, allocations: 1.231 MB / 4.15 GB, free: 19.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.012e-06/14.75, allocations: 0 / 4.15 GB, free: 19.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01007/14.76, allocations: 1.919 MB / 4.152 GB, free: 19.44 MB / 490.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.03565/14.8, allocations: 12.24 MB / 4.164 GB, free: 17.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.012/14.81, allocations: 3.865 MB / 4.168 GB, free: 17.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/14.81, allocations: 0.5625 kB / 4.168 GB, free: 17.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008796/14.82, allocations: 2.969 MB / 4.17 GB, free: 15.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009461/14.83, allocations: 1.043 MB / 4.171 GB, free: 15.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/14.85, allocations: 7.691 MB / 4.179 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/14.86, allocations: 2.224 MB / 4.181 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005317/14.86, allocations: 1.738 MB / 4.183 GB, free: 12.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00286/14.86, allocations: 1.323 MB / 4.184 GB, free: 10.96 MB / 490.7 MB Notification: Performance of SimCode: time 1.954e-06/14.87, allocations: 6.344 kB / 4.184 GB, free: 10.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.703/15.57, allocations: 129.3 MB / 4.31 GB, free: 57.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/15.57, allocations: 228.1 kB / 4.311 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.622/25.19, allocations: 0.8438 kB / 4.311 GB, free: 57.04 MB / 0.4948 GB