Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.919e-05, allocations: 0 / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 50.42 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.14/8.258, allocations: 2.761 GB / 3.096 GB, free: 93.14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/8.258, allocations: 77.91 kB / 3.096 GB, free: 93.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.043/13.3, allocations: 0.9762 GB / 4.072 GB, free: 18.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.226e-06/13.3, allocations: 0 / 4.072 GB, free: 18.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002658/13.3, allocations: 63.92 kB / 4.072 GB, free: 17.96 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.01709/13.32, allocations: 3.394 MB / 4.076 GB, free: 14.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/13.32, allocations: 8.875 kB / 4.076 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/13.32, allocations: 273.7 kB / 4.076 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02283/13.34, allocations: 1.23 MB / 4.077 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005938/13.35, allocations: 1.525 MB / 4.079 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000544/13.35, allocations: 341.8 kB / 4.079 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/13.35, allocations: 184 kB / 4.079 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/13.36, allocations: 3.46 MB / 4.083 GB, free: 7.262 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.501e-05/13.36, allocations: 3.906 kB / 4.083 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005339/13.36, allocations: 91.48 kB / 4.083 GB, free: 7.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/13.36, allocations: 111.3 kB / 4.083 GB, free: 7.062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/13.38, allocations: 3.27 MB / 4.086 GB, free: 3.789 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.04293/13.42, allocations: 14.41 MB / 4.1 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/13.43, allocations: 2.687 MB / 4.103 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004141/13.44, allocations: 1.268 MB / 4.104 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4614/13.9, allocations: 8.262 MB / 4.112 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.778e-05/13.9, allocations: 62.12 kB / 4.112 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006348/13.9, allocations: 0.56 MB / 4.113 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=175): time 1.766e-05/13.9, allocations: 0 / 4.113 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=205): time 0.05579/13.96, allocations: 10.12 MB / 4.122 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/13.96, allocations: 159.5 kB / 4.123 GB, free: 34.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/13.96, allocations: 1.211 MB / 4.124 GB, free: 34.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007777/13.96, allocations: 67.7 kB / 4.124 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/13.96, allocations: 0.7383 MB / 4.125 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/13.97, allocations: 0.6795 MB / 4.125 GB, free: 34.06 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002661/13.97, allocations: 43.19 kB / 4.125 GB, free: 34.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001613/13.97, allocations: 392.2 kB / 4.126 GB, free: 33.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003071/13.97, allocations: 1.101 MB / 4.127 GB, free: 33.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/13.97, allocations: 1.516 MB / 4.128 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003534/13.98, allocations: 1.215 MB / 4.129 GB, free: 33.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/13.98, allocations: 4.719 kB / 4.129 GB, free: 33.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.0111/13.99, allocations: 3.468 MB / 4.133 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/13.99, allocations: 10.41 kB / 4.133 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/13.99, allocations: 12.25 kB / 4.133 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007449/14, allocations: 1.546 MB / 4.134 GB, free: 33.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004112/14, allocations: 461.9 kB / 4.135 GB, free: 33.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008474/14.01, allocations: 6.581 MB / 4.141 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/14.01, allocations: 217.4 kB / 4.141 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007969/14.01, allocations: 112.8 kB / 4.141 GB, free: 28.32 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.0008582/14.01, allocations: 256.1 kB / 4.142 GB, free: 28.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008185/14.02, allocations: 196.9 kB / 4.142 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01981/14.04, allocations: 9.64 MB / 4.151 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000131/14.04, allocations: 103.8 kB / 4.151 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/14.04, allocations: 0 / 4.151 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/14.04, allocations: 12.42 kB / 4.151 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02791/14.06, allocations: 13.14 MB / 4.164 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.51e-05/14.06, allocations: 2.344 kB / 4.164 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003694/14.07, allocations: 402 kB / 4.165 GB, free: 26.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/14.08, allocations: 4.691 MB / 4.169 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007299/14.08, allocations: 65.06 kB / 4.169 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/14.09, allocations: 8.754 MB / 4.178 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/14.09, allocations: 3.281 kB / 4.178 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02203/14.11, allocations: 10.24 MB / 4.188 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002794/14.12, allocations: 0.9043 MB / 4.189 GB, free: 20.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008657/14.12, allocations: 48.34 kB / 4.189 GB, free: 20.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004556/14.12, allocations: 236.4 kB / 4.189 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/14.12, allocations: 233.4 kB / 4.189 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003728/14.12, allocations: 87.59 kB / 4.189 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002711/14.13, allocations: 1.228 MB / 4.19 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.102e-06/14.13, allocations: 0 / 4.19 GB, free: 19.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009957/14.14, allocations: 1.922 MB / 4.192 GB, free: 19.89 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.03402/14.17, allocations: 12.24 MB / 4.204 GB, free: 18.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01224/14.18, allocations: 3.879 MB / 4.208 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/14.18, allocations: 2.781 kB / 4.208 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009458/14.19, allocations: 2.951 MB / 4.211 GB, free: 18.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009336/14.2, allocations: 1.033 MB / 4.212 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/14.22, allocations: 7.705 MB / 4.22 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/14.23, allocations: 2.192 MB / 4.222 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002764/14.23, allocations: 1.335 MB / 4.223 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/14.23, allocations: 0 / 4.223 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.031/20.26, allocations: 187.4 MB / 4.406 GB, free: 42.8 MB / 0.5105 GB