Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.42e-05, allocations: 4 kB / 0.5676 GB, free: 59.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1532, allocations: 44.52 MB / 0.6111 GB, free: 14.84 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.286, allocations: 320.8 MB / 0.9243 GB, free: 106.7 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/1.287, allocations: 87.2 kB / 0.9244 GB, free: 106.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8173/2.104, allocations: 140.5 MB / 1.062 GB, free: 80.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.925e-06/2.104, allocations: 0 / 1.062 GB, free: 80.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.901e-05/2.104, allocations: 20.05 kB / 1.062 GB, free: 80.65 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003431/2.108, allocations: 1.151 MB / 1.063 GB, free: 80.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/2.108, allocations: 8.688 kB / 1.063 GB, free: 80.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/2.108, allocations: 95.72 kB / 1.063 GB, free: 80.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/2.112, allocations: 0.6463 MB / 1.064 GB, free: 79.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/2.112, allocations: 79.66 kB / 1.064 GB, free: 79.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/2.112, allocations: 30.84 kB / 1.064 GB, free: 79.72 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00206/2.114, allocations: 0.5879 MB / 1.064 GB, free: 79.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/2.117, allocations: 0.7335 MB / 1.065 GB, free: 79.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/2.117, allocations: 2.312 kB / 1.065 GB, free: 79.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/2.117, allocations: 2.703 kB / 1.065 GB, free: 79.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/2.117, allocations: 39.11 kB / 1.065 GB, free: 79.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008471/2.125, allocations: 3.32 MB / 1.068 GB, free: 77.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/2.127, allocations: 380.3 kB / 1.069 GB, free: 77.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006979/2.128, allocations: 234.6 kB / 1.069 GB, free: 77.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003153/2.131, allocations: 1.322 MB / 1.07 GB, free: 76.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007528/2.132, allocations: 278.9 kB / 1.07 GB, free: 76.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 6.274e-06/2.132, allocations: 0 / 1.07 GB, free: 76.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.005771/2.138, allocations: 1.301 MB / 1.072 GB, free: 76.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/2.138, allocations: 166.7 kB / 1.072 GB, free: 76.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/2.139, allocations: 0.5302 MB / 1.072 GB, free: 76.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/2.139, allocations: 31.61 kB / 1.072 GB, free: 75.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/2.14, allocations: 422.1 kB / 1.073 GB, free: 75.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/2.14, allocations: 132.3 kB / 1.073 GB, free: 75.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/2.14, allocations: 4.375 kB / 1.073 GB, free: 75.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/2.14, allocations: 382.4 kB / 1.073 GB, free: 75.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/2.141, allocations: 232.5 kB / 1.073 GB, free: 75.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/2.142, allocations: 0.5098 MB / 1.074 GB, free: 75.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00441/2.146, allocations: 0.76 MB / 1.075 GB, free: 75.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.938e-05/2.146, allocations: 3.438 kB / 1.075 GB, free: 75.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00649/2.153, allocations: 1.283 MB / 1.076 GB, free: 74.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007583/2.153, allocations: 3.517 MB / 1.079 GB, free: 71.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/2.154, allocations: 12.25 kB / 1.079 GB, free: 71.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004545/2.154, allocations: 113.4 kB / 1.079 GB, free: 71.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/2.155, allocations: 149.3 kB / 1.08 GB, free: 71.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008232/2.156, allocations: 0.7048 MB / 1.08 GB, free: 70.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009267/2.156, allocations: 41.16 kB / 1.08 GB, free: 70.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/2.157, allocations: 44.34 kB / 1.08 GB, free: 70.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/2.157, allocations: 3.844 kB / 1.08 GB, free: 70.79 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005581/2.162, allocations: 1.18 MB / 1.082 GB, free: 70.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/2.162, allocations: 19.44 kB / 1.082 GB, free: 70.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/2.163, allocations: 102.4 kB / 1.082 GB, free: 70.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006821/2.163, allocations: 148.1 kB / 1.082 GB, free: 70.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000602/2.164, allocations: 0.663 MB / 1.082 GB, free: 70.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008732/2.165, allocations: 28.34 kB / 1.082 GB, free: 70.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.653e-05/2.165, allocations: 44.45 kB / 1.083 GB, free: 70.24 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(start = tank.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = 293.15 unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003562/2.165, allocations: 198.2 kB / 1.083 GB, free: 70.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/2.166, allocations: 70.75 kB / 1.083 GB, free: 70.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/2.168, allocations: 0.596 MB / 1.083 GB, free: 70 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.332e-06/2.168, allocations: 6 kB / 1.083 GB, free: 70 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.573e-06/2.168, allocations: 0 / 1.083 GB, free: 70 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.962e-06/2.168, allocations: 0 / 1.083 GB, free: 70 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/2.17, allocations: 1.231 MB / 1.085 GB, free: 69.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.498e-06/2.17, allocations: 0 / 1.085 GB, free: 69.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/2.171, allocations: 63.36 kB / 1.085 GB, free: 69.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/2.171, allocations: 99.98 kB / 1.085 GB, free: 69.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-05/2.171, allocations: 3.781 kB / 1.085 GB, free: 69.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007334/2.172, allocations: 0.6842 MB / 1.085 GB, free: 69.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-06/2.172, allocations: 3.875 kB / 1.085 GB, free: 69.18 MB / 398.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.1513/2.324, allocations: 11.3 MB / 1.096 GB, free: 66.12 MB / 398.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.