Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.228e-05, allocations: 8 kB / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.95/8.058, allocations: 2.588 GB / 2.881 GB, free: 90.19 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/8.058, allocations: 80.95 kB / 2.881 GB, free: 90.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.228/13.29, allocations: 0.9601 GB / 3.841 GB, free: 29.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/13.29, allocations: 0 / 3.841 GB, free: 29.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002478/13.29, allocations: 59.23 kB / 3.841 GB, free: 29.45 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.0176/13.3, allocations: 3.375 MB / 3.844 GB, free: 27.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/13.3, allocations: 11.84 kB / 3.844 GB, free: 27.96 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001379/13.31, allocations: 266.4 kB / 3.845 GB, free: 27.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02288/13.33, allocations: 1.233 MB / 3.846 GB, free: 27.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/13.33, allocations: 1.537 MB / 3.847 GB, free: 27.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/13.33, allocations: 350.9 kB / 3.848 GB, free: 27.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/13.34, allocations: 182.8 kB / 3.848 GB, free: 27.22 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/13.35, allocations: 3.463 MB / 3.851 GB, free: 26.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.911e-05/13.35, allocations: 14.98 kB / 3.851 GB, free: 26.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005646/13.35, allocations: 81.92 kB / 3.851 GB, free: 26.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/13.35, allocations: 104.4 kB / 3.851 GB, free: 26.81 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01251/13.36, allocations: 3.305 MB / 3.855 GB, free: 26.79 MB / 458.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.03687/13.4, allocations: 14.46 MB / 3.869 GB, free: 19.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009404/13.41, allocations: 2.687 MB / 3.871 GB, free: 19.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/13.41, allocations: 1.271 MB / 3.873 GB, free: 19.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00997/13.42, allocations: 3.761 MB / 3.876 GB, free: 17.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.216e-05/13.42, allocations: 58.44 kB / 3.876 GB, free: 16.97 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005799/13.43, allocations: 0.5754 MB / 3.877 GB, free: 16.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 9.237e-06/13.43, allocations: 0 / 3.877 GB, free: 16.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.05132/13.48, allocations: 10.11 MB / 3.887 GB, free: 16.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/13.48, allocations: 161.5 kB / 3.887 GB, free: 15.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/13.48, allocations: 1.211 MB / 3.888 GB, free: 15.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007722/13.48, allocations: 63.61 kB / 3.888 GB, free: 15.69 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007324/13.48, allocations: 0.8063 MB / 3.889 GB, free: 15.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001174/13.49, allocations: 0.6743 MB / 3.89 GB, free: 14.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/13.49, allocations: 43.88 kB / 3.89 GB, free: 14.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/13.49, allocations: 392.1 kB / 3.89 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/13.49, allocations: 1.107 MB / 3.891 GB, free: 14.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/13.49, allocations: 1.565 MB / 3.893 GB, free: 14.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/13.5, allocations: 1.227 MB / 3.894 GB, free: 14.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/13.5, allocations: 6.062 kB / 3.894 GB, free: 14.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01122/13.51, allocations: 3.641 MB / 3.897 GB, free: 13.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001144/13.51, allocations: 4.978 MB / 3.902 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.862e-05/13.51, allocations: 11.5 kB / 3.902 GB, free: 8.754 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007669/13.52, allocations: 1.543 MB / 3.904 GB, free: 8.684 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004034/13.52, allocations: 474.9 kB / 3.904 GB, free: 8.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008933/13.53, allocations: 6.581 MB / 3.911 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/13.53, allocations: 215.3 kB / 3.911 GB, free: 19.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005975/13.53, allocations: 118.8 kB / 3.911 GB, free: 19.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/13.53, allocations: 3.812 kB / 3.911 GB, free: 19.98 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009915/13.54, allocations: 3.17 MB / 3.914 GB, free: 19.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.467e-05/13.54, allocations: 13.66 kB / 3.914 GB, free: 19.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004321/13.55, allocations: 1.047 MB / 3.915 GB, free: 19.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004418/13.55, allocations: 0.4924 MB / 3.916 GB, free: 19.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/13.57, allocations: 10.05 MB / 3.925 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/13.57, allocations: 217.2 kB / 3.926 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000794/13.57, allocations: 111.9 kB / 3.926 GB, free: 12.62 MB / 474.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.001239/13.57, allocations: 247.3 kB / 3.926 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008464/13.58, allocations: 200.8 kB / 3.926 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02115/13.6, allocations: 9.644 MB / 3.936 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001452/13.6, allocations: 103.7 kB / 3.936 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/13.6, allocations: 1.734 kB / 3.936 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.553e-05/13.6, allocations: 15.83 kB / 3.936 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/13.63, allocations: 13.13 MB / 3.949 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.055e-05/13.63, allocations: 3.156 kB / 3.949 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003671/13.63, allocations: 400.9 kB / 3.949 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01088/13.64, allocations: 4.694 MB / 3.954 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006747/13.64, allocations: 62.12 kB / 3.954 GB, free: 10.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/13.65, allocations: 8.742 MB / 3.962 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/13.65, allocations: 3.953 kB / 3.962 GB, free: 5.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02253/13.68, allocations: 10.23 MB / 3.972 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003027/13.68, allocations: 0.9084 MB / 3.973 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/13.68, allocations: 46.77 kB / 3.973 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004626/13.69, allocations: 236 kB / 3.973 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001166/13.69, allocations: 231.8 kB / 3.973 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005125/13.69, allocations: 86.83 kB / 3.974 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003025/13.69, allocations: 1.228 MB / 3.975 GB, free: 364 kB / 474.7 MB Notification: Performance of sort global known variables: time 8.91e-07/13.69, allocations: 0 / 3.975 GB, free: 364 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.01323/13.7, allocations: 2.383 MB / 3.977 GB, free: 15.92 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.03642/13.74, allocations: 12.22 MB / 3.989 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02029/13.76, allocations: 6.007 MB / 3.995 GB, free: 6.184 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/13.76, allocations: 7.344 kB / 3.995 GB, free: 6.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009919/13.77, allocations: 2.967 MB / 3.998 GB, free: 3.488 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009621/13.78, allocations: 1.043 MB / 3.999 GB, free: 2.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4141/14.19, allocations: 7.729 MB / 4.006 GB, free: 54.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004516/14.2, allocations: 2.245 MB / 4.009 GB, free: 54.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01136/14.21, allocations: 3.593 MB / 4.012 GB, free: 54.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00306/14.21, allocations: 1.297 MB / 4.013 GB, free: 54.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/14.21, allocations: 0.9062 kB / 4.013 GB, free: 54.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3013/14.51, allocations: 137.4 MB / 4.148 GB, free: 15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/14.51, allocations: 241.3 kB / 4.148 GB, free: 14.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/24.52, allocations: 4 kB / 4.148 GB, free: 14.71 MB / 490.7 MB