Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.114e-05, allocations: 8 kB / 0.6493 GB, free: 97.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09181, allocations: 44.52 MB / 0.6927 GB, free: 55.26 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.234, allocations: 404.3 MB / 1.088 GB, free: 89.64 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/1.234, allocations: 85.09 kB / 1.088 GB, free: 89.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13/2.364, allocations: 208.5 MB / 1.291 GB, free: 48.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/2.364, allocations: 0 / 1.291 GB, free: 48.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001576/2.364, allocations: 32 kB / 1.291 GB, free: 48.12 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: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.007923/2.372, allocations: 1.859 MB / 1.293 GB, free: 46.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/2.372, allocations: 12.03 kB / 1.293 GB, free: 46.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/2.373, allocations: 162.2 kB / 1.293 GB, free: 46.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/2.377, allocations: 0.9918 MB / 1.294 GB, free: 45.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/2.378, allocations: 198.5 kB / 1.294 GB, free: 44.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005393/2.378, allocations: 63.94 kB / 1.294 GB, free: 44.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005074/2.383, allocations: 1.609 MB / 1.296 GB, free: 43.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005367/2.389, allocations: 1.642 MB / 1.298 GB, free: 41.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/2.389, allocations: 0 / 1.298 GB, free: 41.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/2.389, allocations: 4 kB / 1.298 GB, free: 41.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/2.389, allocations: 102 kB / 1.298 GB, free: 41.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02052/2.41, allocations: 6.57 MB / 1.304 GB, free: 34.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/2.414, allocations: 1.387 MB / 1.306 GB, free: 33.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/2.417, allocations: 0.8054 MB / 1.306 GB, free: 32.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01155/2.428, allocations: 3.884 MB / 1.31 GB, free: 28.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/2.429, allocations: 51.83 kB / 1.31 GB, free: 28.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=110): time 6.4e-06/2.429, allocations: 4 kB / 1.31 GB, free: 28.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=122): time 0.03902/2.468, allocations: 6.456 MB / 1.316 GB, free: 21.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/2.468, allocations: 175.5 kB / 1.317 GB, free: 21.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/2.47, allocations: 0.6527 MB / 1.317 GB, free: 20.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005348/2.47, allocations: 33.7 kB / 1.317 GB, free: 20.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006944/2.471, allocations: 0.5423 MB / 1.318 GB, free: 20.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000786/2.472, allocations: 400.1 kB / 1.318 GB, free: 19.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/2.472, allocations: 0 / 1.318 GB, free: 19.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/2.472, allocations: 354.3 kB / 1.319 GB, free: 19.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002355/2.474, allocations: 0.7301 MB / 1.319 GB, free: 18.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/2.477, allocations: 0.9917 MB / 1.32 GB, free: 17.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02025/2.498, allocations: 2.357 MB / 1.323 GB, free: 15.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-05/2.498, allocations: 4 kB / 1.323 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.02651/2.524, allocations: 3.859 MB / 1.326 GB, free: 11.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005743/2.525, allocations: 2.357 MB / 1.329 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/2.525, allocations: 16 kB / 1.329 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004842/2.53, allocations: 0.9957 MB / 1.33 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/2.532, allocations: 219.6 kB / 1.33 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/2.548, allocations: 6.608 MB / 1.336 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/2.551, allocations: 67.84 kB / 1.336 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003968/2.551, allocations: 63.97 kB / 1.336 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/2.551, allocations: 4 kB / 1.336 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2408/2.792, allocations: 3.016 MB / 1.339 GB, free: 62.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.762e-05/2.792, allocations: 9.219 kB / 1.339 GB, free: 62.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/2.796, allocations: 0.722 MB / 1.34 GB, free: 62.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/2.798, allocations: 229.4 kB / 1.34 GB, free: 62.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/2.808, allocations: 6.562 MB / 1.347 GB, free: 57.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002334/2.81, allocations: 66.7 kB / 1.347 GB, free: 57.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000319/2.811, allocations: 61.97 kB / 1.347 GB, free: 57.9 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 12 (upperTank.regularFlow[1],upperTank.regularFlow[2],upperTank.regularFlow[3],upperTank.inFlow[1],upperTank.inFlow[2],upperTank.inFlow[3],lowerTank.regularFlow[1],lowerTank.regularFlow[2],lowerTank.inFlow[1],lowerTank.inFlow[2],$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 125 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {4 9,2 3,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006664/2.811, allocations: 142 kB / 1.347 GB, free: 57.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004923/2.812, allocations: 116.8 kB / 1.347 GB, free: 57.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/2.826, allocations: 3.062 MB / 1.35 GB, free: 57.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/2.826, allocations: 21.56 kB / 1.35 GB, free: 57.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.015e-06/2.826, allocations: 3.531 kB / 1.35 GB, free: 57.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/2.826, allocations: 10.62 kB / 1.35 GB, free: 57.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/2.843, allocations: 4.546 MB / 1.354 GB, free: 57.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/2.843, allocations: 0 / 1.354 GB, free: 57.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/2.844, allocations: 156.7 kB / 1.355 GB, free: 57.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/2.847, allocations: 1.005 MB / 1.356 GB, free: 57.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002879/2.848, allocations: 19.23 kB / 1.356 GB, free: 57.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009998/2.858, allocations: 6.599 MB / 1.362 GB, free: 53.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.662e-06/2.858, allocations: 0 / 1.362 GB, free: 53.19 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.4866/3.344, allocations: 54.2 MB / 1.415 GB, free: 44.4 MB / 398.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.