Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.814e-05/4.833e-05, allocations: 7.984 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2728, allocations: 38.77 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.419/7.692, allocations: 2.478 GB / 2.736 GB, free: 83.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/7.692, allocations: 79.77 kB / 2.736 GB, free: 83.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.8/12.49, allocations: 0.935 GB / 3.671 GB, free: 12.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/12.49, allocations: 3.281 kB / 3.671 GB, free: 12.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002649/12.49, allocations: 52.5 kB / 3.671 GB, free: 12.31 MB / 394.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.01622/12.51, allocations: 3.304 MB / 3.674 GB, free: 10.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/12.51, allocations: 14.97 kB / 3.674 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/12.51, allocations: 270.8 kB / 3.675 GB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0223/12.53, allocations: 1.131 MB / 3.676 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/12.54, allocations: 1.535 MB / 3.677 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005393/12.54, allocations: 351.6 kB / 3.677 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/12.54, allocations: 187.9 kB / 3.678 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/12.55, allocations: 3.457 MB / 3.681 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.539e-05/12.55, allocations: 0 / 3.681 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007333/12.56, allocations: 91.97 kB / 3.681 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002218/12.56, allocations: 110.9 kB / 3.681 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/12.57, allocations: 3.304 MB / 3.684 GB, free: 0.9727 MB / 394.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.04119/12.61, allocations: 14.45 MB / 3.699 GB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3517/12.96, allocations: 2.689 MB / 3.701 GB, free: 30.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003581/12.97, allocations: 1.274 MB / 3.702 GB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009706/12.97, allocations: 3.732 MB / 3.706 GB, free: 27.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.875e-05/12.98, allocations: 59.41 kB / 3.706 GB, free: 27.45 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005717/12.98, allocations: 0.574 MB / 3.707 GB, free: 27.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 1.451e-05/12.98, allocations: 0.7656 kB / 3.707 GB, free: 27.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.05291/13.03, allocations: 10.12 MB / 3.717 GB, free: 26.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/13.03, allocations: 151.4 kB / 3.717 GB, free: 26.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/13.04, allocations: 1.207 MB / 3.718 GB, free: 26.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007022/13.04, allocations: 67.91 kB / 3.718 GB, free: 26.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007583/13.04, allocations: 0.8043 MB / 3.719 GB, free: 26.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001185/13.04, allocations: 0.67 MB / 3.719 GB, free: 25.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/13.04, allocations: 44.41 kB / 3.719 GB, free: 25.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/13.04, allocations: 392.9 kB / 3.72 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003176/13.04, allocations: 1.111 MB / 3.721 GB, free: 25.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003593/13.05, allocations: 1.576 MB / 3.722 GB, free: 24.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003592/13.05, allocations: 1.214 MB / 3.724 GB, free: 24.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-05/13.05, allocations: 5.344 kB / 3.724 GB, free: 24.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01175/13.06, allocations: 3.644 MB / 3.727 GB, free: 24.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001148/13.06, allocations: 4.978 MB / 3.732 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-05/13.06, allocations: 12.66 kB / 3.732 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007494/13.07, allocations: 1.54 MB / 3.734 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/13.08, allocations: 476.1 kB / 3.734 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008324/13.08, allocations: 6.59 MB / 3.74 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004569/13.09, allocations: 221.6 kB / 3.741 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006749/13.09, allocations: 119.4 kB / 3.741 GB, free: 14.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/13.09, allocations: 3 kB / 3.741 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01014/13.1, allocations: 3.174 MB / 3.744 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/13.1, allocations: 14.91 kB / 3.744 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004272/13.1, allocations: 1.04 MB / 3.745 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/13.11, allocations: 0.4905 MB / 3.745 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/13.12, allocations: 10.04 MB / 3.755 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004239/13.12, allocations: 220.1 kB / 3.755 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006363/13.13, allocations: 122.4 kB / 3.755 GB, free: 7.492 MB / 410.7 MB 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 {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.001061/13.13, allocations: 246.4 kB / 3.756 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007857/13.13, allocations: 198.1 kB / 3.756 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/13.15, allocations: 9.642 MB / 3.765 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001405/13.15, allocations: 108.3 kB / 3.765 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/13.15, allocations: 0 / 3.765 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.155e-05/13.15, allocations: 18.22 kB / 3.765 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02869/13.18, allocations: 13.12 MB / 3.778 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/13.18, allocations: 0 / 3.778 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003601/13.18, allocations: 402.9 kB / 3.779 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/13.19, allocations: 4.7 MB / 3.783 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006841/13.19, allocations: 56.52 kB / 3.783 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/13.2, allocations: 8.75 MB / 3.792 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/13.2, allocations: 1.219 kB / 3.792 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/13.23, allocations: 10.23 MB / 3.802 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/13.23, allocations: 0.9157 MB / 3.803 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008969/13.23, allocations: 43.31 kB / 3.803 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004338/13.23, allocations: 233.5 kB / 3.803 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009869/13.23, allocations: 226.1 kB / 3.803 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004095/13.23, allocations: 91.48 kB / 3.803 GB, free: 15.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0028/13.24, allocations: 1.225 MB / 3.804 GB, free: 14.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.383e-06/13.24, allocations: 0 / 3.804 GB, free: 14.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01231/13.25, allocations: 2.364 MB / 3.807 GB, free: 14.31 MB / 426.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.03623/13.29, allocations: 12.18 MB / 3.819 GB, free: 9.398 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02598/13.31, allocations: 6.02 MB / 3.825 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.556e-05/13.31, allocations: 10.58 kB / 3.825 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009834/13.32, allocations: 2.968 MB / 3.827 GB, free: 5.812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009531/13.33, allocations: 1.054 MB / 3.829 GB, free: 5.598 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/13.36, allocations: 7.735 MB / 3.836 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003139/13.36, allocations: 2.242 MB / 3.838 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01095/13.37, allocations: 3.589 MB / 3.842 GB, free: 13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003032/13.37, allocations: 1.294 MB / 3.843 GB, free: 11.82 MB / 442.7 MB Notification: Performance of SimCode: time 2.114e-06/13.37, allocations: 0 / 3.843 GB, free: 11.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6733/14.05, allocations: 137.2 MB / 3.977 GB, free: 26.23 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/14.05, allocations: 225 kB / 3.977 GB, free: 25.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.295/23.34, allocations: 0 / 3.977 GB, free: 25.97 MB / 442.7 MB