Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.181e-05, allocations: 4 kB / 0.5623 GB, free: 64.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.08992, allocations: 44.52 MB / 0.6058 GB, free: 20.32 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9128/1.003, allocations: 316 MB / 0.9144 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/1.003, allocations: 79.8 kB / 0.9144 GB, free: 12.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.664/2.667, allocations: 265.1 MB / 1.173 GB, free: 60.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.939e-06/2.667, allocations: 0 / 1.173 GB, free: 60.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001522/2.667, allocations: 42.06 kB / 1.173 GB, free: 60.74 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.009016/2.676, allocations: 1.881 MB / 1.175 GB, free: 59.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.43e-05/2.676, allocations: 9.531 kB / 1.175 GB, free: 59.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/2.678, allocations: 178 kB / 1.175 GB, free: 59.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005596/2.684, allocations: 1.108 MB / 1.176 GB, free: 58.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/2.684, allocations: 139.1 kB / 1.177 GB, free: 57.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007123/2.685, allocations: 59.91 kB / 1.177 GB, free: 57.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00624/2.691, allocations: 1.601 MB / 1.178 GB, free: 56.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/2.696, allocations: 1.605 MB / 1.18 GB, free: 54.56 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/2.697, allocations: 7.188 kB / 1.18 GB, free: 54.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/2.697, allocations: 0 / 1.18 GB, free: 54.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000267/2.697, allocations: 109.9 kB / 1.18 GB, free: 54.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02011/2.717, allocations: 6.145 MB / 1.186 GB, free: 48.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/2.72, allocations: 1.128 MB / 1.187 GB, free: 47.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/2.722, allocations: 0.6875 MB / 1.188 GB, free: 46.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00898/2.731, allocations: 4.189 MB / 1.192 GB, free: 41.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/2.732, allocations: 47.28 kB / 1.192 GB, free: 41.7 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001828/2.733, allocations: 174.6 kB / 1.192 GB, free: 41.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=97): time 9.011e-06/2.733, allocations: 1.641 kB / 1.192 GB, free: 41.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.03287/2.766, allocations: 4.139 MB / 1.196 GB, free: 37.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/2.766, allocations: 141.8 kB / 1.196 GB, free: 37.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/2.769, allocations: 0.812 MB / 1.197 GB, free: 36.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004243/2.769, allocations: 29.7 kB / 1.197 GB, free: 36.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000746/2.77, allocations: 0.612 MB / 1.198 GB, free: 35.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.01524/2.785, allocations: 373.5 kB / 1.198 GB, free: 35.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007608/2.787, allocations: 0 / 1.198 GB, free: 35.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/2.787, allocations: 363.7 kB / 1.198 GB, free: 35.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/2.789, allocations: 0.613 MB / 1.199 GB, free: 34.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01991/2.809, allocations: 0.9296 MB / 1.2 GB, free: 33.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02342/2.832, allocations: 2.327 MB / 1.202 GB, free: 31.01 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-05/2.832, allocations: 0 / 1.202 GB, free: 31.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.03402/2.866, allocations: 3.56 MB / 1.206 GB, free: 27.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008772/2.867, allocations: 3.493 MB / 1.209 GB, free: 23.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/2.867, allocations: 8 kB / 1.209 GB, free: 23.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/2.878, allocations: 1.085 MB / 1.21 GB, free: 22.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/2.88, allocations: 295.5 kB / 1.21 GB, free: 22.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008362/2.889, allocations: 1.902 MB / 1.212 GB, free: 20.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004975/2.894, allocations: 59.8 kB / 1.212 GB, free: 20.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004294/2.894, allocations: 71.95 kB / 1.212 GB, free: 20.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/2.894, allocations: 4 kB / 1.212 GB, free: 20.24 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01969/2.914, allocations: 2.962 MB / 1.215 GB, free: 17.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/2.914, allocations: 8.75 kB / 1.215 GB, free: 17.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006409/2.92, allocations: 0.9141 MB / 1.216 GB, free: 16.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/2.922, allocations: 299.8 kB / 1.216 GB, free: 16.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/2.924, allocations: 1.278 MB / 1.218 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/2.926, allocations: 51.86 kB / 1.218 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/2.926, allocations: 67.95 kB / 1.218 GB, free: 14.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004684/2.926, allocations: 140.6 kB / 1.218 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/2.927, allocations: 130.4 kB / 1.218 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007075/2.934, allocations: 2.142 MB / 1.22 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/2.934, allocations: 12 kB / 1.22 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.998e-06/2.934, allocations: 0 / 1.22 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/2.934, allocations: 11.94 kB / 1.22 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009898/2.944, allocations: 3.456 MB / 1.223 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/2.944, allocations: 0 / 1.223 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/2.945, allocations: 187.8 kB / 1.224 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004969/2.95, allocations: 0.8027 MB / 1.224 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000368/2.951, allocations: 15.98 kB / 1.224 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006265/2.957, allocations: 1.892 MB / 1.226 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.53e-06/2.957, allocations: 0 / 1.226 GB, free: 5.809 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.8763/3.834, allocations: 33.19 MB / 1.259 GB, free: 57.71 MB / 398.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.