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 1.962/1.962, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.86e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.054/8.161, allocations: 2.588 GB / 2.881 GB, free: 89.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/8.162, allocations: 80.53 kB / 2.881 GB, free: 89.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.254/13.42, allocations: 0.9601 GB / 3.841 GB, free: 29.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/13.42, allocations: 1.031 kB / 3.841 GB, free: 29.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002818/13.42, allocations: 61.19 kB / 3.841 GB, free: 29.54 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.01722/13.43, allocations: 3.38 MB / 3.844 GB, free: 28.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/13.43, allocations: 11.97 kB / 3.844 GB, free: 28.06 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/13.43, allocations: 267.3 kB / 3.845 GB, free: 28.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02334/13.46, allocations: 1.234 MB / 3.846 GB, free: 27.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006072/13.46, allocations: 1.53 MB / 3.847 GB, free: 27.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005316/13.46, allocations: 348.1 kB / 3.848 GB, free: 27.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/13.47, allocations: 181.8 kB / 3.848 GB, free: 27.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/13.48, allocations: 3.442 MB / 3.851 GB, free: 26.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/13.48, allocations: 19.95 kB / 3.851 GB, free: 26.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007309/13.48, allocations: 79.59 kB / 3.851 GB, free: 26.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/13.48, allocations: 106.7 kB / 3.851 GB, free: 26.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/13.49, allocations: 3.272 MB / 3.855 GB, free: 26.91 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.03713/13.53, allocations: 14.46 MB / 3.869 GB, free: 19.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009602/13.54, allocations: 2.673 MB / 3.871 GB, free: 19.78 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/13.54, allocations: 1.264 MB / 3.873 GB, free: 19.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/13.55, allocations: 3.766 MB / 3.876 GB, free: 17.14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.063e-05/13.55, allocations: 56.62 kB / 3.876 GB, free: 17.1 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005888/13.56, allocations: 0.5739 MB / 3.877 GB, free: 17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 1.398e-05/13.56, allocations: 0 / 3.877 GB, free: 17 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.05253/13.61, allocations: 10.11 MB / 3.887 GB, free: 16.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/13.61, allocations: 153.1 kB / 3.887 GB, free: 16.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/13.62, allocations: 1.21 MB / 3.888 GB, free: 15.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007672/13.62, allocations: 63.8 kB / 3.888 GB, free: 15.81 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007611/13.62, allocations: 0.8001 MB / 3.889 GB, free: 15.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001277/13.62, allocations: 0.6813 MB / 3.89 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/13.62, allocations: 49.62 kB / 3.89 GB, free: 15.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/13.62, allocations: 386 kB / 3.89 GB, free: 14.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00337/13.62, allocations: 1.108 MB / 3.891 GB, free: 14.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/13.63, allocations: 1.555 MB / 3.893 GB, free: 14.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/13.63, allocations: 1.223 MB / 3.894 GB, free: 14.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.582e-05/13.63, allocations: 2.406 kB / 3.894 GB, free: 14.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01237/13.64, allocations: 3.615 MB / 3.897 GB, free: 13.96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001148/13.64, allocations: 4.973 MB / 3.902 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.997e-05/13.64, allocations: 13.09 kB / 3.902 GB, free: 8.887 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007669/13.65, allocations: 1.541 MB / 3.904 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004147/13.66, allocations: 478 kB / 3.904 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009332/13.67, allocations: 6.573 MB / 3.911 GB, free: 20.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004807/13.67, allocations: 226.9 kB / 3.911 GB, free: 20.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000904/13.67, allocations: 112.2 kB / 3.911 GB, free: 20.11 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/13.67, allocations: 6.594 kB / 3.911 GB, free: 20.11 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01078/13.68, allocations: 3.139 MB / 3.914 GB, free: 19.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-05/13.68, allocations: 10.75 kB / 3.914 GB, free: 19.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004293/13.69, allocations: 1.041 MB / 3.915 GB, free: 19.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/13.69, allocations: 497.4 kB / 3.916 GB, free: 19.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/13.71, allocations: 10.05 MB / 3.925 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/13.71, allocations: 215.5 kB / 3.926 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00061/13.71, allocations: 114 kB / 3.926 GB, free: 12.75 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.001019/13.71, allocations: 252.7 kB / 3.926 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007276/13.71, allocations: 204.5 kB / 3.926 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/13.73, allocations: 9.63 MB / 3.935 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001515/13.73, allocations: 104.8 kB / 3.936 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/13.73, allocations: 0 / 3.936 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-05/13.73, allocations: 14.95 kB / 3.936 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02899/13.76, allocations: 13.13 MB / 3.948 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-05/13.76, allocations: 6.469 kB / 3.948 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003701/13.77, allocations: 402.8 kB / 3.949 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/13.78, allocations: 4.688 MB / 3.953 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006376/13.78, allocations: 61.92 kB / 3.953 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/13.79, allocations: 8.739 MB / 3.962 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/13.79, allocations: 7.984 kB / 3.962 GB, free: 5.602 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02099/13.81, allocations: 10.22 MB / 3.972 GB, free: 1.734 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002935/13.81, allocations: 0.9045 MB / 3.973 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008918/13.81, allocations: 47.14 kB / 3.973 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004527/13.82, allocations: 232 kB / 3.973 GB, free: 1.098 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/13.82, allocations: 234.1 kB / 3.973 GB, free: 1.062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004099/13.82, allocations: 87.55 kB / 3.973 GB, free: 1.047 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002881/13.82, allocations: 1.227 MB / 3.975 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.91e-07/13.82, allocations: 1.312 kB / 3.975 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01332/13.84, allocations: 2.382 MB / 3.977 GB, free: 120 kB / 474.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.03572/13.87, allocations: 12.24 MB / 3.989 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01896/13.89, allocations: 5.928 MB / 3.995 GB, free: 6.543 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/13.89, allocations: 6 kB / 3.995 GB, free: 6.539 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009543/13.9, allocations: 2.967 MB / 3.998 GB, free: 3.852 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009444/13.91, allocations: 1.044 MB / 3.999 GB, free: 3.137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4129/14.32, allocations: 7.711 MB / 4.006 GB, free: 54.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003663/14.33, allocations: 2.249 MB / 4.008 GB, free: 54.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01132/14.34, allocations: 3.587 MB / 4.012 GB, free: 54.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002911/14.34, allocations: 1.294 MB / 4.013 GB, free: 54.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.513e-06/14.34, allocations: 1.562 kB / 4.013 GB, free: 54.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3195/14.66, allocations: 137.6 MB / 4.147 GB, free: 15.06 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/14.66, allocations: 228.1 kB / 4.148 GB, free: 14.83 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/24.76, allocations: 0 / 4.148 GB, free: 14.83 MB / 490.7 MB