Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.372/2.372, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.147e-05, allocations: 3.281 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.977/9.089, allocations: 2.587 GB / 2.875 GB, free: 7.043 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/9.09, allocations: 79.14 kB / 2.875 GB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.036/15.13, allocations: 0.9519 GB / 3.827 GB, free: 20.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.665e-06/15.13, allocations: 0 / 3.827 GB, free: 20.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002883/15.13, allocations: 59.84 kB / 3.827 GB, free: 20.52 MB / 442.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.01831/15.14, allocations: 3.386 MB / 3.83 GB, free: 17.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/15.14, allocations: 8.031 kB / 3.83 GB, free: 17.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02675/15.17, allocations: 1.224 MB / 3.831 GB, free: 16.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006416/15.18, allocations: 1.529 MB / 3.833 GB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004069/15.18, allocations: 285.8 kB / 3.833 GB, free: 14.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008464/15.18, allocations: 112.6 kB / 3.833 GB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008092/15.19, allocations: 2.67 MB / 3.836 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008004/15.2, allocations: 2.7 MB / 3.838 GB, free: 8.707 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/15.2, allocations: 7.938 kB / 3.838 GB, free: 8.699 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005072/15.2, allocations: 4 kB / 3.838 GB, free: 8.695 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/15.2, allocations: 103.3 kB / 3.838 GB, free: 8.594 MB / 442.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.04024/15.24, allocations: 14.04 MB / 3.852 GB, free: 9.801 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006152/15.24, allocations: 2.099 MB / 3.854 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/15.25, allocations: 1.225 MB / 3.855 GB, free: 6.469 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/15.26, allocations: 3.769 MB / 3.859 GB, free: 2.195 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.573e-05/15.26, allocations: 64.75 kB / 3.859 GB, free: 2.125 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006556/15.27, allocations: 0.5096 MB / 3.86 GB, free: 1.625 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 8.687e-06/15.27, allocations: 3.75 kB / 3.86 GB, free: 1.625 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.5149/15.78, allocations: 9.864 MB / 3.869 GB, free: 38.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/15.78, allocations: 149.6 kB / 3.869 GB, free: 37.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/15.78, allocations: 0.8481 MB / 3.87 GB, free: 37.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008012/15.78, allocations: 29.58 kB / 3.87 GB, free: 37.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009265/15.78, allocations: 0.817 MB / 3.871 GB, free: 37.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001428/15.79, allocations: 0.6468 MB / 3.872 GB, free: 37.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/15.79, allocations: 0 / 3.872 GB, free: 37.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/15.79, allocations: 394 kB / 3.872 GB, free: 36.85 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003457/15.79, allocations: 1.076 MB / 3.873 GB, free: 36.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/15.79, allocations: 1.516 MB / 3.875 GB, free: 36.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/15.81, allocations: 1.828 MB / 3.876 GB, free: 36.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.275e-05/15.81, allocations: 2.906 kB / 3.876 GB, free: 36.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.0242/15.83, allocations: 4.073 MB / 3.88 GB, free: 36.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001458/15.83, allocations: 4.896 MB / 3.885 GB, free: 31.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-05/15.83, allocations: 15.78 kB / 3.885 GB, free: 31.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/15.85, allocations: 1.506 MB / 3.887 GB, free: 30.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01435/15.87, allocations: 472.4 kB / 3.887 GB, free: 30.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0315/15.9, allocations: 7.244 MB / 3.894 GB, free: 26.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00571/15.91, allocations: 171.6 kB / 3.894 GB, free: 26.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009436/15.91, allocations: 121 kB / 3.894 GB, free: 26.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/15.91, allocations: 7.094 kB / 3.894 GB, free: 26.24 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0163/15.92, allocations: 3.112 MB / 3.897 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.048e-05/15.92, allocations: 13.28 kB / 3.897 GB, free: 26.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005292/15.93, allocations: 1.025 MB / 3.898 GB, free: 26.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005791/15.94, allocations: 499.8 kB / 3.899 GB, free: 26.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/15.95, allocations: 9.938 MB / 3.909 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004995/15.96, allocations: 174.2 kB / 3.909 GB, free: 19.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008403/15.96, allocations: 110.7 kB / 3.909 GB, free: 19.06 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot3.mb_flow:VARIABLE(min = max(-(if junctionIdeal.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Leaving then 0.0 else 9.999999999999999e+59), -100000.0) max = min(-(if junctionIdeal.portFlowDirection_2 == Modelica.Fluid.Types.PortFlowDirection.Entering then 0.0 else -9.999999999999999e+59), 100000.0) unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankHot3.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankHot3.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankCold3.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankCold3.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot1.mb_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankHot1.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankHot1.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankCold1.Wb_flow:VARIABLE(unit = "W" ) "Work flow across boundaries or source term" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot2.mb_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: openTankHot2.Wb_flow:VARIABLE(unit = "W" ) "Work flow across boundaries or source term" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.openTankCold2.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "Density" type: Real [1] $DER.openTankCold2.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real 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 {2 4,2 4,4 6,2 4,2 4,4 6,2 4,2 4,4 8} Notification: Performance of prepare postOptimizeDAE: time 0.001719/15.96, allocations: 230.9 kB / 3.909 GB, free: 18.94 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02148/15.98, allocations: 3.751 MB / 3.913 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/15.98, allocations: 182.7 kB / 3.913 GB, free: 18.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02906/16.01, allocations: 10.05 MB / 3.923 GB, free: 17.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001561/16.01, allocations: 108 kB / 3.923 GB, free: 17.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/16.01, allocations: 3.609 kB / 3.923 GB, free: 17.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.071e-05/16.01, allocations: 11.62 kB / 3.923 GB, free: 17.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03679/16.05, allocations: 13.16 MB / 3.936 GB, free: 16.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/16.05, allocations: 0 / 3.936 GB, free: 16.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004276/16.05, allocations: 404.9 kB / 3.936 GB, free: 16.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01208/16.07, allocations: 4.657 MB / 3.941 GB, free: 16.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006943/16.07, allocations: 38.56 kB / 3.941 GB, free: 16.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/16.08, allocations: 9.792 MB / 3.95 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/16.08, allocations: 6.203 kB / 3.95 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02978/16.11, allocations: 10.64 MB / 3.961 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/16.12, allocations: 0.8665 MB / 3.962 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009696/16.12, allocations: 10.95 kB / 3.962 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0049/16.12, allocations: 194.1 kB / 3.962 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/16.12, allocations: 230.3 kB / 3.962 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004402/16.12, allocations: 88.53 kB / 3.962 GB, free: 10.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002157/16.13, allocations: 0.9048 MB / 3.963 GB, free: 10.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/16.13, allocations: 0 / 3.963 GB, free: 10.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01426/16.14, allocations: 2.22 MB / 3.965 GB, free: 10.47 MB / 458.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.04434/16.19, allocations: 12.83 MB / 3.978 GB, free: 9.043 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02034/16.21, allocations: 5.855 MB / 3.983 GB, free: 7.973 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/16.21, allocations: 2.594 kB / 3.983 GB, free: 7.973 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01001/16.22, allocations: 2.917 MB / 3.986 GB, free: 6.734 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/16.23, allocations: 0.8981 MB / 3.987 GB, free: 6.586 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/16.25, allocations: 7.493 MB / 3.994 GB, free: 4.023 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/16.25, allocations: 2.245 MB / 3.997 GB, free: 3.195 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01145/16.27, allocations: 3.478 MB / 4 GB, free: 3.141 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00323/16.27, allocations: 1.298 MB / 4.001 GB, free: 2.074 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/16.27, allocations: 0 / 4.001 GB, free: 2.074 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8517/17.12, allocations: 117.4 MB / 4.116 GB, free: 39.44 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00025/17.12, allocations: 179.8 kB / 4.116 GB, free: 39.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.73/27.85, allocations: 3.938 kB / 4.116 GB, free: 39.25 MB / 474.7 MB