Notification: Performance of FrontEnd - loaded program: time 9.569e-06/9.638e-06, allocations: 1.312 kB / 439.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 78.98 MB / 0.5065 GB, free: 2.633 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/0.3811, allocations: 169.4 MB / 0.672 GB, free: 28.2 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/0.3816, allocations: 114.4 kB / 0.6721 GB, free: 28.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.6699/1.052, allocations: 151.7 MB / 0.8202 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000176/1.052, allocations: 80 kB / 0.8203 GB, free: 0.9922 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.01195/1.064, allocations: 3.182 MB / 0.8234 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.064, allocations: 8.031 kB / 0.8234 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02088/1.085, allocations: 1.991 MB / 0.8254 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/1.091, allocations: 2.27 MB / 0.8276 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/1.091, allocations: 136 kB / 0.8277 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/1.093, allocations: 224 kB / 0.8279 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006816/1.1, allocations: 1.57 MB / 0.8294 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/1.111, allocations: 2.714 MB / 0.8321 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.673e-05/1.111, allocations: 4 kB / 0.8321 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006474/1.112, allocations: 4 kB / 0.8321 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/1.113, allocations: 393.3 kB / 0.8325 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04313/1.156, allocations: 27.02 MB / 0.8589 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/1.16, allocations: 1.32 MB / 0.8602 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/1.161, allocations: 266.2 kB / 0.8604 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/1.161, allocations: 140.3 kB / 0.8605 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/1.161, allocations: 66.19 kB / 0.8606 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=176): time 6.146e-06/1.161, allocations: 0 / 0.8606 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=221): time 0.04083/1.202, allocations: 10.04 MB / 0.8704 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002208/1.204, allocations: 495.8 kB / 0.8709 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.204, allocations: 33.25 kB / 0.8709 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2375/1.442, allocations: 0.5754 MB / 0.8715 GB, free: 217 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0004378/1.443, allocations: 25.7 kB / 0.8715 GB, free: 217 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.444, allocations: 1.321 MB / 0.8728 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.445, allocations: 475.4 kB / 0.8732 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007845/1.446, allocations: 0 / 0.8732 GB, free: 216.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0004844/1.447, allocations: 441 kB / 0.8737 GB, free: 216.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/1.45, allocations: 0.5523 MB / 0.8742 GB, free: 216.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/1.454, allocations: 1.584 MB / 0.8757 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.468, allocations: 1.728 MB / 0.8774 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/1.468, allocations: 11.72 kB / 0.8774 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.04501/1.513, allocations: 18.98 MB / 0.896 GB, free: 200.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/1.513, allocations: 36.09 kB / 0.896 GB, free: 200.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03216/1.546, allocations: 3.055 MB / 0.899 GB, free: 200.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04613/1.592, allocations: 8.013 MB / 0.9068 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01186/1.604, allocations: 0.8537 MB / 0.9077 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/1.615, allocations: 348.1 kB / 0.908 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-06/1.615, allocations: 0 / 0.908 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01976/1.635, allocations: 2.646 MB / 0.9106 GB, free: 198.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.471e-05/1.635, allocations: 36.31 kB / 0.9106 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/1.635, allocations: 61.69 kB / 0.9107 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.968e-05/1.635, allocations: 75.62 kB / 0.9107 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01925/1.655, allocations: 1.103 MB / 0.9118 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.665, allocations: 327.7 kB / 0.9121 GB, free: 198.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.001565/1.667, allocations: 212 kB / 0.9123 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.668, allocations: 181.2 kB / 0.9125 GB, free: 198.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03557/1.704, allocations: 5.208 MB / 0.9176 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.582e-05/1.704, allocations: 28.25 kB / 0.9176 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.57e-05/1.704, allocations: 11.56 kB / 0.9176 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.917e-05/1.704, allocations: 15 kB / 0.9176 GB, free: 198.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04402/1.748, allocations: 10.89 MB / 0.9283 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/1.748, allocations: 6.156 kB / 0.9283 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005097/1.753, allocations: 0.5304 MB / 0.9288 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02277/1.776, allocations: 3.41 MB / 0.9321 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004998/1.777, allocations: 43.5 kB / 0.9322 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03088/1.808, allocations: 11.6 MB / 0.9435 GB, free: 193.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/1.808, allocations: 12.31 kB / 0.9435 GB, free: 193.8 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02241/1.83, allocations: 5.62 MB / 0.949 GB, free: 192.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.832, allocations: 0.6395 MB / 0.9496 GB, free: 192.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007997/1.833, allocations: 13.47 kB / 0.9496 GB, free: 192.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005243/1.839, allocations: 373.9 kB / 0.95 GB, free: 192 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004769/1.839, allocations: 129 kB / 0.9501 GB, free: 192 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 155 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005743/1.84, allocations: 156.6 kB / 0.9503 GB, free: 191.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.851, allocations: 3.862 MB / 0.954 GB, free: 191.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.359e-06/1.851, allocations: 4.75 kB / 0.9541 GB, free: 191.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006582/1.858, allocations: 1.831 MB / 0.9558 GB, free: 191.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.859, allocations: 118.1 kB / 0.956 GB, free: 191.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.878, allocations: 6.269 MB / 0.9621 GB, free: 189.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005474/1.884, allocations: 3.312 MB / 0.9653 GB, free: 188.9 MB / 0.6544 GB Notification: Performance of SimCode: time 2.165e-06/1.884, allocations: 0 / 0.9653 GB, free: 188.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.1265/2.011, allocations: 70.06 MB / 1.034 GB, free: 148.9 MB / 0.6544 GB