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.835/1.835, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.244e-05, allocations: 0 / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2822, allocations: 38.77 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.871/8.153, allocations: 2.478 GB / 2.736 GB, free: 82.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/8.153, allocations: 76.28 kB / 2.736 GB, free: 82.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.963/13.12, allocations: 0.935 GB / 3.671 GB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.174e-06/13.12, allocations: 0 / 3.671 GB, free: 10.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002527/13.12, allocations: 64.95 kB / 3.671 GB, free: 10.77 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.01602/13.13, allocations: 3.297 MB / 3.674 GB, free: 7.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/13.13, allocations: 11.97 kB / 3.674 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/13.13, allocations: 273.8 kB / 3.675 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0223/13.16, allocations: 1.131 MB / 3.676 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/13.16, allocations: 1.532 MB / 3.677 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005097/13.16, allocations: 356 kB / 3.677 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/13.16, allocations: 191.6 kB / 3.678 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/13.18, allocations: 3.436 MB / 3.681 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/13.18, allocations: 3.938 kB / 3.681 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008961/13.18, allocations: 87.97 kB / 3.681 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/13.18, allocations: 107.3 kB / 3.681 GB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/13.19, allocations: 3.27 MB / 3.684 GB, free: 14.32 MB / 410.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.3994/13.59, allocations: 14.44 MB / 3.698 GB, free: 26.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009767/13.6, allocations: 2.683 MB / 3.701 GB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/13.61, allocations: 1.268 MB / 3.702 GB, free: 26.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009691/13.62, allocations: 3.731 MB / 3.706 GB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.806e-05/13.62, allocations: 56.22 kB / 3.706 GB, free: 24.24 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006139/13.62, allocations: 0.5748 MB / 3.707 GB, free: 24.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 1.426e-05/13.62, allocations: 0 / 3.707 GB, free: 24.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.06075/13.68, allocations: 10.12 MB / 3.716 GB, free: 23.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.653e-05/13.68, allocations: 149.6 kB / 3.717 GB, free: 23.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/13.69, allocations: 1.213 MB / 3.718 GB, free: 23.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008503/13.69, allocations: 64.33 kB / 3.718 GB, free: 23.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/13.69, allocations: 0.8021 MB / 3.719 GB, free: 22.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00154/13.69, allocations: 0.6757 MB / 3.719 GB, free: 22.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/13.69, allocations: 42.34 kB / 3.719 GB, free: 22.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/13.69, allocations: 389.2 kB / 3.72 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004417/13.69, allocations: 1.114 MB / 3.721 GB, free: 22.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/13.7, allocations: 1.553 MB / 3.722 GB, free: 21.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/13.71, allocations: 1.224 MB / 3.724 GB, free: 21.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/13.71, allocations: 5.469 kB / 3.724 GB, free: 21.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01637/13.72, allocations: 3.61 MB / 3.727 GB, free: 21.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001375/13.72, allocations: 4.972 MB / 3.732 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-05/13.72, allocations: 12.44 kB / 3.732 GB, free: 16.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/13.73, allocations: 1.538 MB / 3.733 GB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005101/13.74, allocations: 474.7 kB / 3.734 GB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008492/13.75, allocations: 6.584 MB / 3.74 GB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/13.75, allocations: 230.6 kB / 3.741 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000771/13.75, allocations: 118.6 kB / 3.741 GB, free: 11.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/13.75, allocations: 3.25 kB / 3.741 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01054/13.76, allocations: 3.136 MB / 3.744 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.375e-05/13.76, allocations: 12.88 kB / 3.744 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004274/13.77, allocations: 1.041 MB / 3.745 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004385/13.77, allocations: 0.4906 MB / 3.745 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/13.79, allocations: 10.04 MB / 3.755 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/13.79, allocations: 226.4 kB / 3.755 GB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/13.79, allocations: 115.5 kB / 3.755 GB, free: 20.26 MB / 426.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.001075/13.79, allocations: 247.1 kB / 3.756 GB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007391/13.79, allocations: 201.2 kB / 3.756 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/13.81, allocations: 9.642 MB / 3.765 GB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001434/13.81, allocations: 108.5 kB / 3.765 GB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/13.81, allocations: 2.031 kB / 3.765 GB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.609e-05/13.81, allocations: 10.5 kB / 3.765 GB, free: 19.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/13.84, allocations: 13.12 MB / 3.778 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/13.84, allocations: 3.688 kB / 3.778 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/13.84, allocations: 404.1 kB / 3.779 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01079/13.85, allocations: 4.696 MB / 3.783 GB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006466/13.86, allocations: 61.06 kB / 3.783 GB, free: 17.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/13.87, allocations: 8.737 MB / 3.792 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/13.87, allocations: 1.406 kB / 3.792 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02142/13.89, allocations: 10.23 MB / 3.802 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002793/13.89, allocations: 0.9166 MB / 3.803 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009263/13.89, allocations: 41.09 kB / 3.803 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004532/13.9, allocations: 235.2 kB / 3.803 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/13.9, allocations: 228.2 kB / 3.803 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003899/13.9, allocations: 89.23 kB / 3.803 GB, free: 11.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002728/13.9, allocations: 1.228 MB / 3.804 GB, free: 11.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/13.9, allocations: 0 / 3.804 GB, free: 11.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01277/13.91, allocations: 2.36 MB / 3.807 GB, free: 10.88 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.03527/13.95, allocations: 12.21 MB / 3.819 GB, free: 5.941 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01992/13.97, allocations: 5.934 MB / 3.824 GB, free: 3.656 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/13.97, allocations: 4.422 kB / 3.824 GB, free: 3.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009434/13.98, allocations: 2.963 MB / 3.827 GB, free: 2.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009462/13.99, allocations: 1.045 MB / 3.828 GB, free: 2.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02835/14.02, allocations: 7.9 MB / 3.836 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003033/14.02, allocations: 2.243 MB / 3.838 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01545/14.04, allocations: 3.592 MB / 3.842 GB, free: 10.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003774/14.04, allocations: 1.296 MB / 3.843 GB, free: 9.035 MB / 442.7 MB Notification: Performance of SimCode: time 1.904e-06/14.04, allocations: 0 / 3.843 GB, free: 9.035 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6879/14.73, allocations: 137.7 MB / 3.977 GB, free: 23.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/14.73, allocations: 227.7 kB / 3.978 GB, free: 23.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.797/24.53, allocations: 0 / 3.978 GB, free: 23.35 MB / 442.7 MB