Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.492e-05, allocations: 0 / 0.5168 GB, free: 13.95 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1234, allocations: 76.95 MB / 0.592 GB, free: 0.918 MB / 480.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7274/0.8509, allocations: 119.6 MB / 0.7088 GB, free: 38.31 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001007/0.8511, allocations: 47.98 kB / 0.7088 GB, free: 38.27 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.1679/1.019, allocations: 37.31 MB / 0.7453 GB, free: 0.8945 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 8.319e-05/1.019, allocations: 32 kB / 0.7453 GB, free: 0.8633 MB / 0.5022 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.03803/1.057, allocations: 6.773 MB / 0.7519 GB, free: 10.03 MB / 0.5178 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/1.057, allocations: 8.031 kB / 0.7519 GB, free: 10.02 MB / 0.5178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/1.059, allocations: 178.3 kB / 0.7521 GB, free: 9.844 MB / 0.5178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008157/1.067, allocations: 1.04 MB / 0.7531 GB, free: 8.762 MB / 0.5178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002285/1.068, allocations: 52 kB / 0.7532 GB, free: 8.711 MB / 0.5178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002386/1.07, allocations: 267 kB / 0.7534 GB, free: 8.449 MB / 0.5178 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01252/1.083, allocations: 2.693 MB / 0.756 GB, free: 5.754 MB / 0.5178 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/1.097, allocations: 2.712 MB / 0.7587 GB, free: 3.023 MB / 0.5178 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/1.097, allocations: 0 / 0.7587 GB, free: 3.023 MB / 0.5178 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008243/1.098, allocations: 0 / 0.7587 GB, free: 3.023 MB / 0.5178 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/1.098, allocations: 40 kB / 0.7587 GB, free: 2.984 MB / 0.5178 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009894/1.108, allocations: 3.269 MB / 0.7619 GB, free: 15.67 MB / 0.5334 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.118, allocations: 4.291 MB / 0.7661 GB, free: 11.38 MB / 0.5334 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006522/1.125, allocations: 2.657 MB / 0.7687 GB, free: 8.711 MB / 0.5334 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008269/1.126, allocations: 43.14 kB / 0.7688 GB, free: 8.668 MB / 0.5334 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.442e-05/1.126, allocations: 77.69 kB / 0.7688 GB, free: 8.582 MB / 0.5334 GB Notification: Performance of pre-optimization done (n=399): time 8.572e-06/1.126, allocations: 0.7188 kB / 0.7688 GB, free: 8.582 MB / 0.5334 GB Notification: Performance of matching and sorting (n=399): time 0.01531/1.141, allocations: 4.505 MB / 0.7732 GB, free: 4.043 MB / 0.5334 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/1.142, allocations: 94.55 kB / 0.7733 GB, free: 3.938 MB / 0.5334 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/1.142, allocations: 188.8 kB / 0.7735 GB, free: 3.746 MB / 0.5334 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.143, allocations: 25.7 kB / 0.7735 GB, free: 3.715 MB / 0.5334 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.143, allocations: 116.2 kB / 0.7736 GB, free: 3.594 MB / 0.5334 GB Notification: Performance of collectInitialBindings (initialization): time 0.002597/1.146, allocations: 1.602 MB / 0.7752 GB, free: 1.969 MB / 0.5334 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009746/1.147, allocations: 0 / 0.7752 GB, free: 1.969 MB / 0.5334 GB Notification: Performance of setup shared object (initialization): time 0.0005712/1.147, allocations: 0.5134 MB / 0.7757 GB, free: 1.445 MB / 0.5334 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006308/1.154, allocations: 2.22 MB / 0.7779 GB, free: 15.22 MB / 0.549 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006581/1.16, allocations: 2.244 MB / 0.7801 GB, free: 12.97 MB / 0.549 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007179/1.167, allocations: 2.564 MB / 0.7826 GB, free: 10.37 MB / 0.549 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-05/1.168, allocations: 4 kB / 0.7826 GB, free: 10.37 MB / 0.549 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01809/1.186, allocations: 5.481 MB / 0.7879 GB, free: 4.812 MB / 0.549 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/1.186, allocations: 7.938 kB / 0.7879 GB, free: 4.805 MB / 0.549 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.186, allocations: 0 / 0.7879 GB, free: 4.805 MB / 0.549 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.789e-05/1.186, allocations: 23.94 kB / 0.7879 GB, free: 4.781 MB / 0.549 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01245/1.198, allocations: 2.182 MB / 0.7901 GB, free: 2.598 MB / 0.549 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-05/1.198, allocations: 20 kB / 0.7901 GB, free: 2.578 MB / 0.549 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/1.203, allocations: 384 kB / 0.7905 GB, free: 2.199 MB / 0.549 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/1.204, allocations: 140 kB / 0.7906 GB, free: 2.062 MB / 0.549 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 637 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002023/1.206, allocations: 164 kB / 0.7908 GB, free: 1.895 MB / 0.549 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.208, allocations: 146.4 kB / 0.7909 GB, free: 1.75 MB / 0.549 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/1.209, allocations: 0.5223 MB / 0.7914 GB, free: 1.223 MB / 0.549 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.33e-05/1.21, allocations: 40 kB / 0.7914 GB, free: 1.184 MB / 0.549 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.151e-05/1.21, allocations: 3.984 kB / 0.7914 GB, free: 1.18 MB / 0.549 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.48e-05/1.21, allocations: 15.94 kB / 0.7915 GB, free: 1.164 MB / 0.549 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008914/1.219, allocations: 2.541 MB / 0.7939 GB, free: 14.57 MB / 0.5647 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/1.219, allocations: 3.984 kB / 0.7939 GB, free: 14.57 MB / 0.5647 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0161/1.235, allocations: 2.182 MB / 0.7961 GB, free: 12.39 MB / 0.5647 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/1.235, allocations: 12 kB / 0.7961 GB, free: 12.38 MB / 0.5647 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001429/1.236, allocations: 135.8 kB / 0.7962 GB, free: 12.24 MB / 0.5647 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.438e-05/1.236, allocations: 12 kB / 0.7962 GB, free: 12.23 MB / 0.5647 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.906e-06/1.236, allocations: 4 kB / 0.7962 GB, free: 12.23 MB / 0.5647 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1548/1.391, allocations: 41.48 MB / 0.8367 GB, free: 2.453 MB / 0.5959 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000436/1.392, allocations: 254.7 kB / 0.837 GB, free: 2.184 MB / 0.5959 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/1.393, allocations: 91.88 kB / 0.8371 GB, free: 2.094 MB / 0.5959 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003959/1.397, allocations: 159.8 kB / 0.8372 GB, free: 1.938 MB / 0.5959 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00147/1.399, allocations: 218.8 kB / 0.8374 GB, free: 1.723 MB / 0.5959 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001108/1.4, allocations: 108 kB / 0.8375 GB, free: 1.617 MB / 0.5959 GB Notification: Performance of sorting global known variables: time 0.0001074/1.4, allocations: 99.27 kB / 0.8376 GB, free: 1.52 MB / 0.5959 GB Notification: Performance of sort global known variables: time 7.09e-07/1.4, allocations: 4 kB / 0.8376 GB, free: 1.516 MB / 0.5959 GB Notification: Performance of remove unused functions: time 0.006465/1.406, allocations: 1.473 MB / 0.8391 GB, free: 44 kB / 0.5959 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 237 (TA[2],TA[3],TA[4],TA[5],TA[6],TA[7],TA[8],TA[9],TA[10],TA[11],TA[12],TA[13],TA[14],TA[15],TA[16],TA[17],TA[18],TA[19],TA[20],TA[21],TA[22],TA[23],TA[24],TA[25],TA[26],TA[27],TA[28],TA[29],TA[30],TA[31],TA[32],TA[33],TA[34],TA[35],TA[36],TA[37],TA[38],TA[39],TA[40],TA[41],TA[42],TA[43],TA[44],TA[45],TA[46],TA[47],TA[48],TA[49],TA[50],TA[51],TA[52],TA[53],TA[54],TA[55],TA[56],TA[57],TA[58],TA[59],TA[60],TA[61],TA[62],TA[63],TA[64],TA[65],TA[66],TA[67],TA[68],TA[69],TA[70],TA[71],TA[72],TA[73],TA[74],TA[75],TA[76],TA[77],TA[78],TA[79],TA[80],TB[2],TB[3],TB[4],TB[5],TB[6],TB[7],TB[8],TB[9],TB[10],TB[11],TB[12],TB[13],TB[14],TB[15],TB[16],TB[17],TB[18],TB[19],TB[20],TB[21],TB[22],TB[23],TB[24],TB[25],TB[26],TB[27],TB[28],TB[29],TB[30],TB[31],TB[32],TB[33],TB[34],TB[35],TB[36],TB[37],TB[38],TB[39],TB[40],TB[41],TB[42],TB[43],TB[44],TB[45],TB[46],TB[47],TB[48],TB[49],TB[50],TB[51],TB[52],TB[53],TB[54],TB[55],TB[56],TB[57],TB[58],TB[59],TB[60],TB[61],TB[62],TB[63],TB[64],TB[65],TB[66],TB[67],TB[68],TB[69],TB[70],TB[71],TB[72],TB[73],TB[74],TB[75],TB[76],TB[77],TB[78],TB[79],TB[80],TW[1],TW[2],TW[3],TW[4],TW[5],TW[6],TW[7],TW[8],TW[9],TW[10],TW[11],TW[12],TW[13],TW[14],TW[15],TW[16],TW[17],TW[18],TW[19],TW[20],TW[21],TW[22],TW[23],TW[24],TW[25],TW[26],TW[27],TW[28],TW[29],TW[30],TW[31],TW[32],TW[33],TW[34],TW[35],TW[36],TW[37],TW[38],TW[39],TW[40],TW[41],TW[42],TW[43],TW[44],TW[45],TW[46],TW[47],TW[48],TW[49],TW[50],TW[51],TW[52],TW[53],TW[54],TW[55],TW[56],TW[57],TW[58],TW[59],TW[60],TW[61],TW[62],TW[63],TW[64],TW[65],TW[66],TW[67],TW[68],TW[69],TW[70],TW[71],TW[72],TW[73],TW[74],TW[75],TW[76],TW[77],TW[78],TW[79]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (399): * Single equations (assignments): 399 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/1.408, allocations: 274.5 kB / 0.8393 GB, free: 15.77 MB / 0.6115 GB Notification: Performance of simCode: created initialization part: time 0.01399/1.422, allocations: 5.232 MB / 0.8444 GB, free: 10.52 MB / 0.6115 GB Notification: Performance of simCode: created event and clocks part: time 5.287e-06/1.422, allocations: 0 / 0.8444 GB, free: 10.52 MB / 0.6115 GB Notification: Performance of simCode: created simulation system equations: time 0.007087/1.429, allocations: 2.612 MB / 0.847 GB, free: 7.914 MB / 0.6115 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.432, allocations: 408.3 kB / 0.8474 GB, free: 7.516 MB / 0.6115 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3173/1.75, allocations: 23.71 MB / 0.8705 GB, free: 179.7 MB / 0.6115 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/1.751, allocations: 1.627 MB / 0.8721 GB, free: 179 MB / 0.6115 GB Notification: Performance of simCode: alias equations: time 0.01096/1.762, allocations: 1.871 MB / 0.8739 GB, free: 178.6 MB / 0.6115 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005337/1.768, allocations: 226.5 kB / 0.8742 GB, free: 178.6 MB / 0.6115 GB Notification: Performance of SimCode: time 1.833e-06/1.768, allocations: 1.25 kB / 0.8742 GB, free: 178.6 MB / 0.6115 GB Notification: Performance of Templates: time 0.1746/1.942, allocations: 61.91 MB / 0.9346 GB, free: 155.5 MB / 0.6115 GB