Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.022e-05, allocations: 0 / 2.851 GB, free: 48.54 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06497/0.06501, allocations: 44.52 MB / 2.895 GB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.249/6.314, allocations: 2.587 GB / 5.482 GB, free: 85.05 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/6.314, allocations: 88.23 kB / 5.482 GB, free: 85.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.296/10.61, allocations: 0.9519 GB / 6.434 GB, free: 34.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/10.61, allocations: 0 / 6.434 GB, free: 34.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001969/10.61, allocations: 62.47 kB / 6.434 GB, free: 34.14 MB / 446.1 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.01255/10.62, allocations: 3.374 MB / 6.438 GB, free: 32.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/10.62, allocations: 16.09 kB / 6.438 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02022/10.64, allocations: 1.306 MB / 6.439 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004817/10.65, allocations: 1.528 MB / 6.44 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/10.65, allocations: 292.6 kB / 6.441 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006255/10.65, allocations: 106.8 kB / 6.441 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006654/10.66, allocations: 2.667 MB / 6.443 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007012/10.66, allocations: 2.701 MB / 6.446 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.145e-05/10.66, allocations: 14.19 kB / 6.446 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/10.66, allocations: 6.031 kB / 6.446 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/10.66, allocations: 104.9 kB / 6.446 GB, free: 31.3 MB / 446.1 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.02697/10.69, allocations: 14.06 MB / 6.46 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00469/10.7, allocations: 2.093 MB / 6.462 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004095/10.7, allocations: 1.226 MB / 6.463 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/10.71, allocations: 3.763 MB / 6.467 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/10.71, allocations: 66.28 kB / 6.467 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003868/10.71, allocations: 0.5057 MB / 6.467 GB, free: 21.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 7.116e-06/10.71, allocations: 3.812 kB / 6.467 GB, free: 21.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.04265/10.76, allocations: 9.866 MB / 6.477 GB, free: 20.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/10.76, allocations: 153.9 kB / 6.477 GB, free: 20.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/10.76, allocations: 0.8401 MB / 6.478 GB, free: 20.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004103/10.76, allocations: 30.77 kB / 6.478 GB, free: 20.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/10.76, allocations: 0.8113 MB / 6.479 GB, free: 19.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000685/10.76, allocations: 0.653 MB / 6.479 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/10.76, allocations: 3 kB / 6.479 GB, free: 19.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/10.76, allocations: 385.5 kB / 6.48 GB, free: 19.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/10.76, allocations: 1.073 MB / 6.481 GB, free: 19.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/10.77, allocations: 1.52 MB / 6.482 GB, free: 18.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00702/10.77, allocations: 1.828 MB / 6.484 GB, free: 18.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/10.77, allocations: 3.375 kB / 6.484 GB, free: 18.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.0155/10.79, allocations: 4.072 MB / 6.488 GB, free: 18.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009807/10.79, allocations: 4.902 MB / 6.493 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/10.79, allocations: 12 kB / 6.493 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005538/10.79, allocations: 1.506 MB / 6.494 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/10.8, allocations: 469 kB / 6.495 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/10.81, allocations: 7.243 MB / 6.502 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005521/10.82, allocations: 177 kB / 6.502 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006879/10.82, allocations: 119 kB / 6.502 GB, free: 7.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/10.82, allocations: 3.75 kB / 6.502 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01638/10.83, allocations: 3.122 MB / 6.505 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.928e-05/10.83, allocations: 14.84 kB / 6.505 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005686/10.84, allocations: 1.009 MB / 6.506 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005549/10.84, allocations: 0.4889 MB / 6.507 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/10.87, allocations: 9.947 MB / 6.516 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/10.87, allocations: 177.6 kB / 6.516 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008773/10.87, allocations: 117.8 kB / 6.517 GB, free: 12.5 MB / 462.1 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.001599/10.87, allocations: 219.8 kB / 6.517 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/10.88, allocations: 173.9 kB / 6.517 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03839/10.91, allocations: 10.05 MB / 6.527 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002181/10.91, allocations: 113.1 kB / 6.527 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/10.91, allocations: 0 / 6.527 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.209e-05/10.91, allocations: 15.06 kB / 6.527 GB, free: 3.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.241/11.16, allocations: 13.25 MB / 6.54 GB, free: 46.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-05/11.16, allocations: 8.312 kB / 6.54 GB, free: 46.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004913/11.16, allocations: 400.7 kB / 6.54 GB, free: 46.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01563/11.18, allocations: 4.653 MB / 6.545 GB, free: 46.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006897/11.18, allocations: 33.45 kB / 6.545 GB, free: 46.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/11.2, allocations: 9.798 MB / 6.554 GB, free: 41.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.563e-06/11.2, allocations: 3.688 kB / 6.554 GB, free: 41.77 MB / 462.1 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8507/12.05, allocations: 175.5 MB / 6.726 GB, free: 48.21 MB / 478.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.