Notification: Performance of FrontEnd - loaded program: time 1.853e-05/1.875e-05, allocations: 0 / 0.5685 GB, free: 58.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06203/0.06207, allocations: 44.52 MB / 0.612 GB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9122/0.9743, allocations: 321.6 MB / 0.926 GB, free: 106.6 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.9746, allocations: 86.14 kB / 0.9261 GB, free: 106.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.592/2.567, allocations: 319.6 MB / 1.238 GB, free: 42.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.695e-06/2.567, allocations: 0 / 1.238 GB, free: 42.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000148/2.567, allocations: 49.03 kB / 1.238 GB, free: 42.35 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005385/2.573, allocations: 2.11 MB / 1.24 GB, free: 41.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/2.573, allocations: 10.84 kB / 1.24 GB, free: 41.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009894/2.574, allocations: 208.4 kB / 1.241 GB, free: 41.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003206/2.577, allocations: 1.248 MB / 1.242 GB, free: 40.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.774e-05/2.577, allocations: 60.98 kB / 1.242 GB, free: 40.97 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/2.577, allocations: 75.83 kB / 1.242 GB, free: 40.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003642/2.581, allocations: 1.748 MB / 1.244 GB, free: 40.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003531/2.584, allocations: 1.75 MB / 1.245 GB, free: 40.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/2.584, allocations: 3.562 kB / 1.245 GB, free: 40.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/2.585, allocations: 5.828 kB / 1.245 GB, free: 40.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/2.585, allocations: 113.4 kB / 1.245 GB, free: 40.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/2.598, allocations: 7.353 MB / 1.253 GB, free: 37.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/2.6, allocations: 1.096 MB / 1.254 GB, free: 37.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/2.601, allocations: 0.7061 MB / 1.254 GB, free: 37.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006151/2.607, allocations: 3.309 MB / 1.258 GB, free: 35.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/2.608, allocations: 52.69 kB / 1.258 GB, free: 35.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=119): time 4.186e-06/2.608, allocations: 0 / 1.258 GB, free: 35.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.02142/2.629, allocations: 4.618 MB / 1.262 GB, free: 34.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/2.629, allocations: 176.2 kB / 1.262 GB, free: 34.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/2.631, allocations: 0.9315 MB / 1.263 GB, free: 34.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002917/2.631, allocations: 31.61 kB / 1.263 GB, free: 34.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006484/2.632, allocations: 0.7329 MB / 1.264 GB, free: 34.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/2.632, allocations: 452.3 kB / 1.264 GB, free: 33.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/2.633, allocations: 0 / 1.264 GB, free: 33.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/2.633, allocations: 379.7 kB / 1.265 GB, free: 33.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/2.634, allocations: 0.7103 MB / 1.265 GB, free: 33.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/2.636, allocations: 1.154 MB / 1.267 GB, free: 33.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/2.651, allocations: 2.519 MB / 1.269 GB, free: 33.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-05/2.651, allocations: 3.719 kB / 1.269 GB, free: 33.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.0191/2.67, allocations: 3.908 MB / 1.273 GB, free: 32.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001028/2.671, allocations: 5.154 MB / 1.278 GB, free: 27.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/2.671, allocations: 12.78 kB / 1.278 GB, free: 27.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/2.673, allocations: 459.6 kB / 1.278 GB, free: 27.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/2.675, allocations: 353.8 kB / 1.279 GB, free: 27.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/2.68, allocations: 3.283 MB / 1.282 GB, free: 25.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/2.683, allocations: 103.8 kB / 1.282 GB, free: 25.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/2.683, allocations: 85.83 kB / 1.282 GB, free: 25.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/2.683, allocations: 3.844 kB / 1.282 GB, free: 25.48 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01605/2.699, allocations: 3.532 MB / 1.286 GB, free: 25.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/2.699, allocations: 19.41 kB / 1.286 GB, free: 25.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/2.7, allocations: 337.4 kB / 1.286 GB, free: 25.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/2.702, allocations: 368.2 kB / 1.286 GB, free: 25.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004397/2.707, allocations: 2.941 MB / 1.289 GB, free: 23.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/2.709, allocations: 99.09 kB / 1.289 GB, free: 23.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/2.709, allocations: 83.86 kB / 1.289 GB, free: 23.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.tank3.aboveLevel[1],tank3.aboveLevel[1],$PRE.tank3.aboveLevel[2],tank3.aboveLevel[2],$PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[2],$PRE.tank2.aboveLevel[3],tank2.aboveLevel[3],tank2.ports_m_flow_out[3],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1],tank3.ports_m_flow_out[2],tank3.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 203 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,2 7,2 7,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005348/2.71, allocations: 161.4 kB / 1.289 GB, free: 23.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/2.71, allocations: 147.6 kB / 1.29 GB, free: 23.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009244/2.719, allocations: 2.324 MB / 1.292 GB, free: 22.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/2.719, allocations: 15.06 kB / 1.292 GB, free: 22.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/2.72, allocations: 3.844 kB / 1.292 GB, free: 22.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.011e-05/2.72, allocations: 9.797 kB / 1.292 GB, free: 22.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/2.736, allocations: 3.823 MB / 1.296 GB, free: 22.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/2.736, allocations: 3.938 kB / 1.296 GB, free: 22.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/2.738, allocations: 238.1 kB / 1.296 GB, free: 22.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/2.741, allocations: 442.5 kB / 1.296 GB, free: 22.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/2.741, allocations: 21.5 kB / 1.296 GB, free: 22.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/2.752, allocations: 3.053 MB / 1.299 GB, free: 20.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.29e-06/2.752, allocations: 3.438 kB / 1.299 GB, free: 20.36 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.6482/3.4, allocations: 28.43 MB / 1.327 GB, free: 29.2 MB / 414.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.